GroupCollection.IList.Clear Method

Definition

Calling this method always throws NotSupportedException.

C#
void IList.Clear();

Implements

Exceptions

This method is not supported. This is a read-only collection.

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

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