MatchCollection.ICollection<Match>.Remove(Match) Method

Definition

Calling this method always throws NotSupportedException.

bool ICollection<Match>.Remove (System.Text.RegularExpressions.Match item);

Parameters

item
Match

The object to remove from the collection.

Returns

true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the original collection.

Implements

Exceptions

The collection is read-only.

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
.NET Standard 2.1