ConsumerConnectionPointCollection.IndexOf(ConsumerConnectionPoint) Methode

Definition

Bestimmt den Index des angegebenen ConsumerConnectionPoint-Objekts in der Auflistung.

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

Parameter

connectionPoint
ConsumerConnectionPoint

Die zu suchende ConsumerConnectionPoint.

Gibt zurück

Der nullbasierte Index des ersten Vorkommens von connectionPoint in der aktuellen ConsumerConnectionPointCollection (sofern gefunden), andernfalls -1.

Hinweise

Wenn das angegebene Consumerverbindungspunktelement mehrmals in der Auflistung angezeigt wird, wird der Index des ersten Vorkommens zurückgegeben.

Gilt für: