ConsumerConnectionPointCollection.IndexOf Method (ConsumerConnectionPoint)

 

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

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

Public Function IndexOf (
	connectionPoint As ConsumerConnectionPoint
) As Integer

Return Value

Type: System.Int32

The zero-based index of the first occurrence of connectionPoint within the current ConsumerConnectionPointCollection, if found; otherwise, -1.

If the specified consumer connection point item appears multiple times in the collection, the index of the first occurrence is returned.

.NET Framework
Available since 2.0
Return to top
Show: