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

Definition

Determines whether the group collection contains a specific group item.

C#
bool ICollection<Group>.Contains(System.Text.RegularExpressions.Group item);

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

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1