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

适用于