ClientRuntimeContext.LoadQuery<T> メソッド (ClientObjectCollection<T>)
Retrieves an enumerable sequence of the child client objects from a collection.
名前空間: Microsoft.SharePoint.Client
アセンブリ: Microsoft.SharePoint.Client.Silverlight.Runtime (Microsoft.SharePoint.Client.Silverlight.Runtime.dll 内); Microsoft.SharePoint.Client.Phone.Runtime (Microsoft.SharePoint.Client.Phone.Runtime.dll 内) Microsoft.SharePoint.Client.Runtime (Microsoft.SharePoint.Client.Runtime.dll 内)
構文
'宣言
Public Function LoadQuery(Of T As ClientObject) ( _
clientObjects As ClientObjectCollection(Of T) _
) As IEnumerable(Of T)
'使用
Dim instance As ClientRuntimeContext
Dim clientObjects As ClientObjectCollection(Of T)
Dim returnValue As IEnumerable(Of T)
returnValue = instance.LoadQuery(clientObjects)
public IEnumerable<T> LoadQuery<T>(
ClientObjectCollection<T> clientObjects
)
where T : ClientObject
型パラメーター
- T
The type of the child client object.
パラメーター
clientObjects
型: Microsoft.SharePoint.Client.ClientObjectCollection<T>The ClientObjectCollection<UMP> object that represents the collection of the client objects.
戻り値
型: System.Collections.Generic.IEnumerable<T>
The enumerable sequence of client objects.
注釈
This method retrieves the enumerable sequence of client objects that are the child objects of a collection; specifically, the user can apply the foreach programming pattern to iterate the sequence. The retrieved client objects are stored in the return value.