語言

FreeformActivityDesigner.CanConnectContainedDesigners 方法

定義

回傳一個值,指示是否 FreeformActivityDesigner 能在來源子活動設計器上的指定連接點與目標子活動設計器上的指定連接點之間建立連線。

protected public:
 virtual bool CanConnectContainedDesigners(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
protected internal virtual bool CanConnectContainedDesigners(System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
abstract member CanConnectContainedDesigners : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
override this.CanConnectContainedDesigners : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
Protected Friend Overridable Function CanConnectContainedDesigners (source As ConnectionPoint, target As ConnectionPoint) As Boolean

參數

source
ConnectionPoint

然後 ConnectionPoint 檢查來源活動設計器。

target
ConnectionPoint

然後 ConnectionPoint 檢查目標活動設計師。

傳回

true若能FreeformActivityDesigner在來源與目標活動設計者之間繪製連結;否則,。 false

適用於