共用方式為


SP.ClientRuntimeContext.load(clientObject) Method

Applies to: SharePoint Foundation 2010

Retrieves the properties of a client object from the server.

SP.ClientRuntimeContext.load(clientObject);

Parameters

  • clientObject
    The object whose properties will be retrieved from the server.

Type: SP.ClientObject

  • retrievals
    The list of retrieval actions by lambda expression.
  • T
    The type of the client object.

Applies To

SP.ClientRuntimeContext Class

Remarks

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

See Also

Reference

SP.ClientRuntimeContext Methods

SP.ClientRuntimeContext Properties

SP Namespace