FreeformActivityDesigner.CanConnectContainedDesigners 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,指示是否 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