GroupCollection.IList.Contains(Object) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Determines whether the group collection contains a specific group item.

bool IList.Contains (object value);

Parameters

value
Object

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 IList interface.

Applies to

Produk Versi
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1