ConsumerConnectionPointCollection.IndexOf Method (ConsumerConnectionPoint)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 int IndexOf(
	ConsumerConnectionPoint connectionPoint
)

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: