MatchCollection.ICollection<Match>.Clear Metoda

Definice

Volání této metody vždy vyvolá 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

Výjimky

Kolekce je jen pro čtení.

Poznámky

Count musí být nastavena na hodnotu 0 a odkazy na jiné objekty z prvků kolekce musí být uvolněny.

Platí pro