ConsumerConnectionPointCollection.IndexOf(ConsumerConnectionPoint) Metod

Definition

Avgör indexet för det angivna ConsumerConnectionPoint objektet i samlingen.

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

Parametrar

Returer

Det nollbaserade indexet för den första förekomsten av connectionPoint i den aktuella ConsumerConnectionPointCollection, om det hittas, annars -1.

Kommentarer

Om det angivna konsumentanslutningspunktobjektet visas flera gånger i samlingen returneras indexet för den första förekomsten.

Gäller för