Edit

Bagikan melalui


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

Definition

Calling this method always throws NotSupportedException.

 virtual bool System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Remove(System::Text::RegularExpressions::Match ^ item) = System::Collections::Generic::ICollection<System::Text::RegularExpressions::Match ^>::Remove;
bool ICollection<Match>.Remove (System.Text.RegularExpressions.Match item);
abstract member System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Remove : System.Text.RegularExpressions.Match -> bool
override this.System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Remove : System.Text.RegularExpressions.Match -> bool
Function Remove (item As Match) As Boolean Implements ICollection(Of Match).Remove

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