DataFormConsumerConnectionPoint constructor
Initializes a new instance of the DataFormConsumerConnectionPoint class with the specified parameters.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
callbackMethod As MethodInfo, _
interfaceType As Type, _
controlType As Type, _
displayName As String, _
id As String, _
allowsMultipleConnections As Boolean _
)
'Usage
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 DataFormConsumerConnectionPoint(callbackMethod, _
interfaceType, controlType, displayName, _
id, allowsMultipleConnections)
public DataFormConsumerConnectionPoint(
MethodInfo callbackMethod,
Type interfaceType,
Type controlType,
string displayName,
string id,
bool allowsMultipleConnections
)
Parameters
callbackMethod
Type: System.Reflection.MethodInfoThe method in the consumer control that returns an interface instance to consumers in order to establish a connection.
interfaceType
Type: System.TypeThe type of the interface that the consumer receives from a provider.
controlType
Type: System.TypeThe type of the consumer control with which the DataFormConsumerConnectionPoint is associated.
displayName
Type: System.StringA friendly display name for the DataFormConsumerConnectionPoint that appears to users in the connection user interface (UI).
id
Type: System.StringA unique identifier for the DataFormConsumerConnectionPoint.
allowsMultipleConnections
Type: System.Booleantrue to allow the DataFormConsumerConnectionPoint to have multiple simultaneous connections with providers; otherwise, false.
See also
Reference
DataFormConsumerConnectionPoint class