WebPartConnectionCollection.IndexOf Method (WebPartConnection)

 

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 Function IndexOf (
	value As WebPartConnection
) As Integer

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
Available since 2.0
Return to top
Show: