GroupCollection.IList<Group>.IndexOf(Group) Methode

Definition

Bestimmt den Index einer bestimmten Gruppe in der Gruppenauflistung.

 virtual int System.Collections.Generic.IList<System.Text.RegularExpressions.Group>.IndexOf(System::Text::RegularExpressions::Group ^ item) = System::Collections::Generic::IList<System::Text::RegularExpressions::Group ^>::IndexOf;
int IList<Group>.IndexOf (System.Text.RegularExpressions.Group item);
abstract member System.Collections.Generic.IList<System.Text.RegularExpressions.Group>.IndexOf : System.Text.RegularExpressions.Group -> int
override this.System.Collections.Generic.IList<System.Text.RegularExpressions.Group>.IndexOf : System.Text.RegularExpressions.Group -> int
Function IndexOf (item As Group) As Integer Implements IList(Of Group).IndexOf

Parameter

item
Group

Die Gruppe, die in der Gruppenauflistung gesucht werden soll.

Gibt zurück

Int32

Der Index von item, sofern gefunden; andernfalls -1.

Implementiert

Hinweise

Bei diesem Member handelt es sich um eine explizite Schnittstellenmemberimplementierung. Er kann nur verwendet werden, wenn die GroupCollection-Instanz in eine IList<T>-Schnittstelle umgewandelt wird.

Gilt für