语言

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 非常有用。

适用于

另请参阅