ConsumerConnectionPointCollection.Contains(ConsumerConnectionPoint) メソッド

定義

指定した ConsumerConnectionPoint オブジェクトがコレクション内にあるかどうかを判断します。

public:
 bool Contains(System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ connectionPoint);
public bool Contains(System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint connectionPoint);
member this.Contains : System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint -> bool
Public Function Contains (connectionPoint As ConsumerConnectionPoint) As Boolean

パラメーター

connectionPoint
ConsumerConnectionPoint

検索する接続ポイント。

返品

true コンシューマー接続ポイントがコレクションに含まれている場合。それ以外の場合は false

注釈

ConsumerConnectionPoint オブジェクトが現在のConsumerConnectionPointCollection コレクションに含まれているかどうかを調べるには、このメソッドを使用します。 このメソッドは、通常、メニュー項目の追加やコレクションからのメニュー項目の削除など、タスクを実行する前に、 ConsumerConnectionPoint オブジェクトの存在をテストするために使用されます。

適用対象