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

Definicja

Określa indeks określonej grupy w kolekcji grup.

 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

Parametry

item
Group

Grupa do zlokalizowania w kolekcji grup.

Zwraca

Indeks elementu item if found; w przeciwnym razie -1.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy GroupCollection wystąpienie jest rzutowe do interfejsu IList<T> .

Dotyczy