ConnectorHitTestInfo 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ConnectorHitTestInfo 類別的新執行個體。
public:
ConnectorHitTestInfo(System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ compositeActivityDesigner, System::Workflow::ComponentModel::Design::HitTestLocations flags, int connector);
public ConnectorHitTestInfo(System.Workflow.ComponentModel.Design.CompositeActivityDesigner compositeActivityDesigner, System.Workflow.ComponentModel.Design.HitTestLocations flags, int connector);
new System.Workflow.ComponentModel.Design.ConnectorHitTestInfo : System.Workflow.ComponentModel.Design.CompositeActivityDesigner * System.Workflow.ComponentModel.Design.HitTestLocations * int -> System.Workflow.ComponentModel.Design.ConnectorHitTestInfo
Public Sub New (compositeActivityDesigner As CompositeActivityDesigner, flags As HitTestLocations, connector As Integer)
參數
- compositeActivityDesigner
- CompositeActivityDesigner
那個 CompositeActivityDesigner 裡面有連接器。
- flags
- HitTestLocations
A HitTestLocations 定義使用者點擊的連接器位置。
- connector
- Int32
點擊的連接器索引識別碼。
例外狀況
在構造子呼叫之前,連接器索引被設定為小於零。