共用方式為


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

建立的 Connector

適用於