This topic has not yet been rated - Rate this topic

ClientRuntimeContext.Load<T> Method

SharePoint 2010

Retrieves the properties of a client object from the server.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll);  Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.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: System.Linq.Expressions.Expression<Func<T, Object>>[]
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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ