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
- context
The SP.ClientRuntimeContext Class object that represents the current client runtime context.
Type: SP.ClientRuntimeContext
- objectPath
The SP.ObjectPath Class object that tracks how a client object is created in the SP.ClientRuntimeContext Class class so that the object can be transmitted to the server.
Type: SP.ObjectPath
Applies To
SP.ClientObjectCollection Class
See Also
Reference
SP.ClientObjectCollection Methods