FreeformActivityDesigner.AddConnector メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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またはsourceのtarget プロパティには、null参照 (Nothing) が含まれています。
現在の FreeformActivityDesigner は、追加するコネクタのコンテナーではありません。
注釈
AddConnectorは、ユーザーがConnectorにFreeformActivityDesignerを追加したときに呼び出されます。