Share via


MatchCollection.ICollection<Match>.Clear Método

Definición

Cuando se llama a este método, siempre se produce 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

Implementaciones

Excepciones

La colección es de solo lectura.

Comentarios

Count debe establecerse en 0 y se deben liberar las referencias a otros objetos de los elementos de la colección.

Se aplica a