XlvProviderConnectionPoint 构造函数
初始化ProviderConnectionPoint类的新实例。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub New ( _
callbackMethod As MethodInfo, _
interfaceType As Type, _
controlType As Type, _
displayName As String, _
id As String, _
allowsMultipleConnections As Boolean _
)
用法
Dim callbackMethod As MethodInfo
Dim interfaceType As Type
Dim controlType As Type
Dim displayName As String
Dim id As String
Dim allowsMultipleConnections As Boolean
Dim instance As New XlvProviderConnectionPoint(callbackMethod, _
interfaceType, controlType, displayName, _
id, allowsMultipleConnections)
public XlvProviderConnectionPoint(
MethodInfo callbackMethod,
Type interfaceType,
Type controlType,
string displayName,
string id,
bool allowsMultipleConnections
)
参数
callbackMethod
类型:System.Reflection.MethodInfo将接口实例返回给用户建立连接的提供程序控件中的方法。
interfaceType
类型:System.Type提供者提供给用户接口的类型。
controlType
类型:System.Type指向与提供程序连接关联的提供程序控件的类型。
displayName
类型:System.String对连接用户界面 (UI) 中的消费者使用显示的提供程序连接点友好显示名称。
id
类型:System.String提供者连接点的 ID。
allowsMultipleConnections
类型:System.Boolean一个布尔值,该值指示是否可以与使用者的多个同时连接的提供程序连接点。