Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
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:
© 2017 Microsoft