FreeformActivityDesigner.CreateConnector 方法

定义

在两个指定连接点之间创建连接器。

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

参数

source
ConnectionPoint

要开始绘制连接器的 ConnectionPoint 位置。

target
ConnectionPoint

要完成连接器绘制的 ConnectionPoint 位置。

返回

所创建的 Connector

适用于