Share via


WebPart.TableConsumerConnectionPoint Constructor

Initializes a new instance of the WebPart.TableConsumerConnectionPoint class with the specified parameters.

Namespace:  Microsoft.Office.Server.WebControls.Charting
Assembly:  Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)

Syntax

'Declaration
Public Sub New ( _
    callbackMethod As MethodInfo, _
    interfaceType As Type, _
    controlType As Type, _
    name As String, _
    id As String, _
    allowsMultipleConnections As Boolean _
)
'Usage
Dim callbackMethod As MethodInfo
Dim interfaceType As Type
Dim controlType As Type
Dim name As String
Dim id As String
Dim allowsMultipleConnections As Boolean

Dim instance As New WebPart.TableConsumerConnectionPoint(callbackMethod, _
    interfaceType, controlType, name, _
    id, allowsMultipleConnections)
public TableConsumerConnectionPoint(
    MethodInfo callbackMethod,
    Type interfaceType,
    Type controlType,
    string name,
    string id,
    bool allowsMultipleConnections
)

Parameters

  • callbackMethod
    Type: System.Reflection.MethodInfo
    The MethodInfo object that represents the method in the consumer control that returns an interface instance to consumers to establish a connection.
  • interfaceType
    Type: System.Type
    The Type object that represents the interface that the consumer receives from a provider.
  • controlType
    Type: System.Type
    The Type object that represents the consumer control with which the consumer connection point is associated.
  • name
    Type: System.String
    The String object that represents a friendly display name for the consumer connection point that appears to users in the connection user interface.
  • id
    Type: System.String
    The String object that represents a unique identifier for the consumer connection point.
  • allowsMultipleConnections
    Type: System.Boolean
    The Boolean object that represents a value indicating whether the consumer connection point can have multiple simultaneous connections with providers.

Remarks

This constructor calls the base constructor and passes it the required parameters.

See Also

Reference

WebPart.TableConsumerConnectionPoint Class

WebPart.TableConsumerConnectionPoint Members

Microsoft.Office.Server.WebControls.Charting Namespace