ConsumerConnectionPointCollection.IndexOf(ConsumerConnectionPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the index of the specified ConsumerConnectionPoint object in the collection.
public:
int IndexOf(System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ connectionPoint);
public int IndexOf (System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint connectionPoint);
member this.IndexOf : System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint -> int
Public Function IndexOf (connectionPoint As ConsumerConnectionPoint) As Integer
Parameters
- connectionPoint
- ConsumerConnectionPoint
The ConsumerConnectionPoint to locate.
Returns
The zero-based index of the first occurrence of connectionPoint
within the current ConsumerConnectionPointCollection, if found; otherwise, -1.
Remarks
If the specified consumer connection point item appears multiple times in the collection, the index of the first occurrence is returned.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for