AddinPlugin 构造函数 (ClientRuntimeContext, ObjectPath)
初始化Addin Plugin的新实例。
命名空间: Microsoft.SharePoint.Client.Publishing
程序集: Microsoft.SharePoint.Client.Publishing.Silverlight(位于 Microsoft.SharePoint.Client.Publishing.Silverlight.dll 中); Microsoft.SharePoint.Client.Publishing.Phone(位于 Microsoft.SharePoint.Client.Publishing.Phone.dll 中) Microsoft.SharePoint.Client.Publishing(位于 Microsoft.SharePoint.Client.Publishing.dll 中)
语法
声明
Public Sub New ( _
context As ClientRuntimeContext, _
objectPath As ObjectPath _
)
用法
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath
Dim instance As New AddinPlugin(context, _
objectPath)
public AddinPlugin(
ClientRuntimeContext context,
ObjectPath objectPath
)
参数
context
类型:Microsoft.SharePoint.Client.ClientRuntimeContext表示服务器对象和操作的客户端运行时上下文。
objectPath
类型:Microsoft.SharePoint.Client.ObjectPath跟踪客户端对象ClientRuntimeContext班的创建方式,以便可以在服务器上重新创建该对象。