MatchCollection.ICollection<Match>.Clear Metoda

Definicja

Wywołanie tej metody zawsze zgłasza błąd 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

Implementuje

Wyjątki

Kolekcja jest tylko do odczytu.

Uwagi

Count musi być ustawiona na wartość 0, a odwołania do innych obiektów z elementów kolekcji muszą zostać zwolnione.

Dotyczy