Language

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

定義

現在のアクティビティ デザイナーの指定した接続ポイントとターゲット アクティビティ デザイナーの指定した接続ポイントの間に接続を作成できるかどうかを示す値を返します。

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を返します。

適用対象