DataGridViewSelectedColumnCollection.IList.Clear Metoda

Definice

Implementuje metodu Clear() . Vždy vyhodí NotSupportedException.

 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 DataGridViewSelectedColumnCollection přímo. Chcete-li vymazat DataGridViewSelectedColumnCollection, použijte metodu DataGridView.ClearSelection .

Tento člen je explicitní implementace členu rozhraní. Lze ho použít pouze v DataGridViewSelectedColumnCollection případě, že je instance přetypována do IList rozhraní.

Platí pro

Viz také