ConsumerConnectionPointCollection.IndexOf(ConsumerConnectionPoint) メソッド

定義

コレクション内の指定した ConsumerConnectionPoint オブジェクトのインデックスを決定します。

public:
 int IndexOf(System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ connectionPoint);
public int IndexOf(System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint connectionPoint);
member this.IndexOf : System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint -> int
Public Function IndexOf (connectionPoint As ConsumerConnectionPoint) As Integer

パラメーター

connectionPoint
ConsumerConnectionPoint

検索する ConsumerConnectionPoint

返品

現在のconnectionPoint内で最初にConsumerConnectionPointCollectionが見つかった場合は 0 から始まるインデックス。それ以外の場合は -1。

注釈

指定したコンシューマー接続ポイント項目がコレクション内に複数回出現する場合は、最初に出現する項目のインデックスが返されます。

適用対象