Export (0) Print
Expand All

ClientRuntimeContext.Load<T> Method

Retrieves the properties of a client object from the server.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

public void Load<T>(
	T clientObject,
	params Expression<Func<T, Object>>[] retrievals
)
where T : ClientObject

Type Parameters

T

The type of the client object.

Parameters

clientObject
Type: T

The object whose properties will be retrieved from the server.

retrievals
Type: []

The list of retrieval actions by lambda expression.

This method is called to retrieve the properties of a specified client object, such as the ListCollection collection. The properties are stored in the client object.

Show:
© 2014 Microsoft