ConsumerConnectionPointCollection::IndexOf Method (ConsumerConnectionPoint^)
.NET Framework (current version)
Determines the index of the specified ConsumerConnectionPoint object in the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- connectionPoint
-
Type:
System.Web.UI.WebControls.WebParts::ConsumerConnectionPoint^
The ConsumerConnectionPoint to locate.
Return Value
Type: System::Int32The 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
Available since 2.0
Show: