ConsumerConnectionPointCollection.IndexOf(ConsumerConnectionPoint) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コレクション内の指定した 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。
注釈
指定したコンシューマー接続ポイント項目がコレクション内に複数回出現する場合は、最初に出現する項目のインデックスが返されます。