ListSortDescriptionCollection.IList.Clear Metoda

Definice

Odebere všechny položky z kolekce.

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
abstract member System.Collections.IList.Clear : unit -> unit
override this.System.Collections.IList.Clear : unit -> unit
Sub Clear () Implements IList.Clear

Implementuje

Výjimky

Ve všech případech

Poznámky

Vzhledem k tomu, že ListSortDescriptionCollection třída implementuje System.Collections.IList rozhraní, musí mít metodu IList.Clear . Vzhledem k ListSortDescriptionCollection tomu, že třída představuje kolekci jen pro čtení, vymazání položek z kolekce je neplatná operace.

Platí pro