Redigera

Dela via


ConnectionPoint(ActivityDesigner, DesignerEdges, Int32) Constructor

Definition

Initializes a new instance of the ConnectionPoint class by using the specified ActivityDesigner, DesignerEdges enumeration value, and an integer.

public:
 ConnectionPoint(System::Workflow::ComponentModel::Design::ActivityDesigner ^ associatedDesigner, System::Workflow::ComponentModel::Design::DesignerEdges designerEdge, int connectionIndex);
public ConnectionPoint (System.Workflow.ComponentModel.Design.ActivityDesigner associatedDesigner, System.Workflow.ComponentModel.Design.DesignerEdges designerEdge, int connectionIndex);
new System.Workflow.ComponentModel.Design.ConnectionPoint : System.Workflow.ComponentModel.Design.ActivityDesigner * System.Workflow.ComponentModel.Design.DesignerEdges * int -> System.Workflow.ComponentModel.Design.ConnectionPoint
Public Sub New (associatedDesigner As ActivityDesigner, designerEdge As DesignerEdges, connectionIndex As Integer)

Parameters

associatedDesigner
ActivityDesigner

The ActivityDesigner to which the connection point belongs.

designerEdge
DesignerEdges

The DesignerEdges enumeration value that specifies where on the activity designer the connection point is located.

connectionIndex
Int32

An index location of the current ConnectionPoint.

Exceptions

connectionIndex is less than zero.

-- or --

connectionIndex is greater than or equal to the number of connection points on associatedDesigner.

associatedDesigner contains a null reference (Nothing in Visual Basic).

Applies to