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

Der ConsumerConnectionPoint zu findende

Gibt zurück

Der nullbasierte Index des ersten Vorkommens connectionPoint innerhalb des aktuellen ConsumerConnectionPointCollection, falls 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: