Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ClientObjectCollection(T) constructor

ClientObjectCollection<T> constructor

Initializes a new instance of the ClientObjectCollection<T> class with the specified client runtime context and object path.

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

public ClientObjectCollection(
	ClientRuntimeContext context,
	ObjectPath objectPath


Type: Microsoft.SharePoint.Client.ClientRuntimeContext

The ClientRuntimeContext object that represents the current client runtime context.

Type: Microsoft.SharePoint.Client.ObjectPath

The ObjectPath object that tracks how a client object is created in the ClientRuntimeContext class so that the object can be transmitted to the server.

© 2015 Microsoft