Share via


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如果想要了解集合中一个对象的序号位置 (索引) ,该方法非常有用。

适用于

另请参阅