ActivityDesigner.OnConnected(ConnectionPoint, ConnectionPoint) メソッド

定義

2 つのコネクション ポイント間で接続が確立されたときに、ActivityDesigner に通知します。

protected:
 virtual void OnConnected(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
protected virtual void OnConnected (System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
abstract member OnConnected : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> unit
override this.OnConnected : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> unit
Protected Overridable Sub OnConnected (source As ConnectionPoint, target As ConnectionPoint)

パラメーター

source
ConnectionPoint

現在のアクティビティ デザイナー上のソース ConnectionPoint。

target
ConnectionPoint

接続先アクティビティ デザイナー上のターゲット ConnectionPoint。

注釈

OnConnected には既定の動作がありません。 ActivityDesigner から派生したクラスでこのメソッドをオーバーライドし、2 つのデザイナー間で接続が確立されたときの処理を提供する必要があります。

適用対象