ActivityDesigner.CanConnect(ConnectionPoint, ConnectionPoint) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在のアクティビティ デザイナーの指定した接続ポイントとターゲット アクティビティ デザイナーの指定した接続ポイントの間に接続を作成できるかどうかを示す値を返します。
protected:
virtual bool CanConnect(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
protected virtual bool CanConnect(System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
abstract member CanConnect : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
override this.CanConnect : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
Protected Overridable Function CanConnect (source As ConnectionPoint, target As ConnectionPoint) As Boolean
パラメーター
- source
- ConnectionPoint
現在のアクティビティ デザイナーで確認する ConnectionPoint 。
- target
- ConnectionPoint
ターゲット アクティビティ デザイナーで確認する ConnectionPoint 。
返品
true ソースとターゲットの間に接続を作成できることを示す場合。それ以外の場合は false。
注釈
派生クラスでオーバーライドされない限り、 CanConnect は常に trueを返します。