DataGridViewSelectedRowCollection.IList.RemoveAt(Int32) Metoda

Definice

Implementuje metodu RemoveAt(Int32) . Vždy vyhodí NotSupportedException.

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

Parametry

index
Int32

Z nuly vycházející index položky k odebrání.

Implementuje

Výjimky

Vždy vyvolána.

Poznámky

Třídu nelze změnit DataGridViewSelectedRowCollection přímo. Pokud chcete odebrat řádek z objektu DataGridViewSelectedRowCollection, použijte vlastnost DataGridViewBand.Selected .

Tento člen je explicitní implementace členu rozhraní. Lze jej použít pouze v DataGridViewSelectedRowCollection případě, že je instance přetypovaná na IList rozhraní.

Platí pro

Viz také