ConnectionPoint(ActivityDesigner, DesignerEdges, Int32) 构造函数
定义
使用指定的 ConnectionPoint、ActivityDesigner 枚举值和整数初始化 DesignerEdges 类的新实例。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)
参数
- associatedDesigner
- ActivityDesigner
连接点所属的 ActivityDesigner。The ActivityDesigner to which the connection point belongs.
- designerEdge
- DesignerEdges
指定连接点在活动设计器上所处位置的 DesignerEdges 枚举值。The DesignerEdges enumeration value that specifies where on the activity designer the connection point is located.
- connectionIndex
- Int32
当前 ConnectionPoint 的索引位置。An index location of the current ConnectionPoint.
例外
connectionIndex 小于零。connectionIndex is less than zero.
- 或 --- or --
connectionIndex 大于或等于 associatedDesigner 上的连接点数。connectionIndex is greater than or equal to the number of connection points on associatedDesigner.
associatedDesigner 包含空引用(在 Visual Basic 中为 Nothing)。associatedDesigner contains a null reference (Nothing in Visual Basic).