Breyta

Deila með


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

Definition

Determines the index of a specific group in the group collection.

 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

Parameters

item
Group

The group to locate in the group collection.

Returns

The index of the item if found; otherwise, -1.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the GroupCollection instance is cast to an IList<T> interface.

Applies to