Export (0) Print
Expand All

WebPartConnectionCollection.IndexOf Method

Determines the index of the specified WebPartConnection object in the collection.

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public int IndexOf(
	WebPartConnection value
)

Parameters

value
Type: System.Web.UI.WebControls.WebParts.WebPartConnection

The WebPartConnection to determine the index of.

Return Value

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

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft