ListView.CheckedIndexCollection.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

Vždy vyvolána.

Poznámky

Třídu nelze změnit ListView.CheckedIndexCollection přímo. Pokud chcete vymazat ListView.CheckedIndexCollection, nastavte Checked vlastnost na false hodnotu pro každou ListViewItem položku v objektu ListView.ListViewItemCollection.

Platí pro