MatchCollection.ICollection<Match>.Remove(Match) Méthode

Définition

L'appel de cette méthode lève toujours 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

Paramètres

item
Match

Objet à supprimer de la collection.

Retours

true si item a été correctement supprimé de la collection ; sinon, false. Cette méthode retourne aussi false si item est introuvable dans la collection d’origine.

Implémente

Exceptions

La collection est en lecture seule.

S’applique à