ClientObjectCollection 构造函数
初始化与指定的客户端运行时上下文和对象路径ClientObjectCollection类的新实例。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中) Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)
语法
声明
Protected Sub New ( _
context As ClientRuntimeContext, _
objectPath As ObjectPath _
)
用法
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath
Dim instance As New ClientObjectCollection(context, _
objectPath)
protected ClientObjectCollection(
ClientRuntimeContext context,
ObjectPath objectPath
)
参数
context
类型:Microsoft.SharePoint.Client.ClientRuntimeContext表示当前客户端运行时上下文的ClientRuntimeContext对象。
objectPath
类型:Microsoft.SharePoint.Client.ObjectPath跟踪,以便对象可以传输到服务器, ClientRuntimeContext班级中创建一个客户端对象时如何ObjectPath对象。