GroupCollection.ICollection<Group>.Contains(Group) Metoda

Definicja

Określa, czy kolekcja grup zawiera określony element grupy.

 virtual bool System.Collections.Generic.ICollection<System.Text.RegularExpressions.Group>.Contains(System::Text::RegularExpressions::Group ^ item) = System::Collections::Generic::ICollection<System::Text::RegularExpressions::Group ^>::Contains;
bool ICollection<Group>.Contains (System.Text.RegularExpressions.Group item);
abstract member System.Collections.Generic.ICollection<System.Text.RegularExpressions.Group>.Contains : System.Text.RegularExpressions.Group -> bool
override this.System.Collections.Generic.ICollection<System.Text.RegularExpressions.Group>.Contains : System.Text.RegularExpressions.Group -> bool
Function Contains (item As Group) As Boolean Implements ICollection(Of Group).Contains

Parametry

item
Group

Grupa do zlokalizowania w kolekcji grup.

Zwraca

true jeśli element grupy zostanie znaleziony w kolekcji grup; false Inaczej.

Implementuje

Uwagi

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

Dotyczy