FreeformActivityDesigner.AddConnector メソッド

定義

FreeformActivityDesignerにコネクタを追加します。

public:
 System::Workflow::ComponentModel::Design::Connector ^ AddConnector(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
public System.Workflow.ComponentModel.Design.Connector AddConnector(System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
member this.AddConnector : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> System.Workflow.ComponentModel.Design.Connector
Public Function AddConnector (source As ConnectionPoint, target As ConnectionPoint) As Connector

パラメーター

source
ConnectionPoint

コネクタの描画を開始する ConnectionPoint の場所。

target
ConnectionPoint

コネクタの描画を完了する ConnectionPoint の場所。

返品

Connectorに追加されたFreeformActivityDesigner

例外

source または target には、null 参照 (Visual Basic の Nothing) が含まれています。

AssociatedDesignerまたはsourcetarget プロパティには、null参照 (Nothing) が含まれています。

現在の FreeformActivityDesigner は、追加するコネクタのコンテナーではありません。

注釈

AddConnectorは、ユーザーがConnectorFreeformActivityDesignerを追加したときに呼び出されます。

適用対象