共用方式為


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 包含 null 參考 (在 Visual Basic 中為 Nothing)。

適用於