ConnectionPoint(ActivityDesigner, DesignerEdges, Int32) 构造函数

定义

使用指定的 ConnectionPointActivityDesigner 枚举值和整数初始化 DesignerEdges 类的新实例。

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)

参数

associatedDesigner
ActivityDesigner

连接点所属的 ActivityDesigner

designerEdge
DesignerEdges

指定连接点在活动设计器上所处位置的 DesignerEdges 枚举值。

connectionIndex
Int32

当前 ConnectionPoint 的索引位置。

例外

connectionIndex 小于零。

\- 或 -

connectionIndex 大于或等于 associatedDesigner 上的连接点数。

associatedDesigner 包含空引用(在 Visual Basic 中为 Nothing)。

适用于