共用方式為


SP.ClientObjectCollection(context, objectPath) Constructor

Applies to: SharePoint Foundation 2010

Initializes a new instance of the SP.ClientObjectCollection Class class with the specified client runtime context and object path.

var value = new ClientObjectCollection(context, objectPath);

Parameters

Type: SP.ClientRuntimeContext

Type: SP.ObjectPath

Applies To

SP.ClientObjectCollection Class

See Also

Reference

SP.ClientObjectCollection Methods

SP.ClientObjectCollection Properties

SP Namespace