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

定义

使用指定的ConnectionPoint枚举ActivityDesigner值和整数初始化类的新实例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 包含 null 引用(Visual Basic 中的 Nothing)。

适用于