Редагувати

Поділитися через


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

Definition

Determines whether the group collection contains a specific group item.

 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

Parameters

item
Group

The group to locate in the group collection.

Returns

true if the group item is found in the group collection; false otherwise.

Implements

Remarks

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

Applies to