MatchCollection.ICollection<Match>.Clear Méthode

Définition

L'appel de cette méthode lève toujours NotSupportedException.

 virtual void System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Clear() = System::Collections::Generic::ICollection<System::Text::RegularExpressions::Match ^>::Clear;
void ICollection<Match>.Clear ();
abstract member System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Clear : unit -> unit
override this.System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Clear : unit -> unit
Sub Clear () Implements ICollection(Of Match).Clear

Implémente

Exceptions

La collection est en lecture seule.

Remarques

Count doit être défini sur 0, et les références à d’autres objets à partir d’éléments de la collection doivent être libérées.

S’applique à