ProxyWebPartConnectionCollection.IndexOf(WebPartConnection) 方法

定義

傳回集合特定成員的位置。

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

參數

value
WebPartConnection

WebPartConnection,為集合成員。

傳回

整數,表示集合中特定物件的位置。

備註

當您想要知道一個物件相對於集合中其他物件的序數位置 (索引) 時,此方法 IndexOf 很有用。

適用於

另請參閱