DataFormProviderConnectionPoint Constructor

Initializes a new instance of the DataFormProviderConnectionPoint class.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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 DataFormProviderConnectionPoint(callbackMethod, _
    interfaceType, controlType, displayName, _
    id, allowsMultipleConnections)
public DataFormProviderConnectionPoint(
    MethodInfo callbackMethod,
    Type interfaceType,
    Type controlType,
    string displayName,
    string id,
    bool allowsMultipleConnections
)

Parameters

  • callbackMethod
    Type: System.Reflection.MethodInfo

    The method in the provider control that returns an interface instance to consumers to establish a connection.

  • interfaceType
    Type: System.Type

    The type of the interface that the provider sends to consumers.

  • controlType
    Type: System.Type

    The type of the provider control with which the DataFormProviderConnectionPoint is associated.

  • displayName
    Type: System.String

    A friendly name for the DataFormProviderConnectionPoint that is displayed to users in the connection user interface (UI).

  • id
    Type: System.String

    A unique identifier (ID) for the DataFormProviderConnectionPoint.

  • allowsMultipleConnections
    Type: System.Boolean

    true to allow the DataFormProviderConnectionPoint to have multiple concurrent connections with consumers; otherwise, false.

See Also

Reference

DataFormProviderConnectionPoint Class

DataFormProviderConnectionPoint Members

Microsoft.SharePoint.WebPartPages Namespace