Edit

Share via


ProxyWebPartConnectionCollection.IndexOf(WebPartConnection) Method

Definition

Returns the position of a particular member of the collection.

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

Parameters

value
WebPartConnection

A WebPartConnection that is a member of the collection.

Returns

An integer that indicates the position of a particular object in the collection.

Remarks

The IndexOf method is useful when you want to know the ordinal position (index) of one object relative to the others in a collection.

Applies to

See also