Share via


XlvProviderConnectionPoint Constructor

Initializes a new instance of the ProviderConnectionPoint 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 XlvProviderConnectionPoint(callbackMethod, _
    interfaceType, controlType, displayName, _
    id, allowsMultipleConnections)
public XlvProviderConnectionPoint(
    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 users to establish a connection.

  • interfaceType
    Type: System.Type

    The type of the interface that the provider serves to users.

  • controlType
    Type: System.Type

    The type of the provider control that is associated with the provider connection point.

  • displayName
    Type: System.String

    A friendly display name for the provider connection point that appears to consumers in the connection user interface (UI).

  • id
    Type: System.String

    An ID for the provider connection point.

  • allowsMultipleConnections
    Type: System.Boolean

    A Boolean value that indicates whether the provider connection point can have multiple simultaneous connections with consumers.

See Also

Reference

XlvProviderConnectionPoint Class

XlvProviderConnectionPoint Members

Microsoft.SharePoint.WebPartPages Namespace