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

傳回

Boolean

如果 FreeformActivityDesigner 可以在來源和目標活動設計工具之間繪製接點則為 true,否則為 false

適用於