Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IndexOf Method
Collapse the table of content
Expand the table of content

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)

'Declaration
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

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