Modifier

Partager via


WebPartConnectionCollection.IndexOf(WebPartConnection) Method

Definition

Determines the index of the specified WebPartConnection object in 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

The WebPartConnection to determine the index of.

Returns

The zero-based index of the first occurrence of value within the collection, if found; otherwise, -1.

Remarks

Use this method to determine the index of the specified WebPartConnection object in the collection.

Applies to