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
Assembly: Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
context As ClientRuntimeContext, _
objectPath As ObjectPath _
)
'Usage
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath
Dim instance As New ClientObjectCollection(context, _
objectPath)
public ClientObjectCollection(
ClientRuntimeContext context,
ObjectPath objectPath
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe ClientRuntimeContext object that represents the current client runtime context.
objectPath
Type: Microsoft.SharePoint.Client.ObjectPathThe ObjectPath object that tracks how a client object is created in the ClientRuntimeContext class so that the object can be transmitted to the server.
See also
Reference
ClientObjectCollection<T> class