語言

ConnectorHitTestInfo 建構函式

定義

初始化 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

點擊的連接器索引識別碼。

例外狀況

在構造子呼叫之前,連接器索引被設定為小於零。

適用於