ImageList.ImageCollection.RemoveAt(Int32) Metoda

Definice

Odebere obrázek ze seznamu.

public:
 virtual void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parametry

index
Int32

Index obrázku, který se má odebrat.

Implementuje

Výjimky

Image nelze odebrat.

Hodnota indexu byla menší než 0.

-nebo-

Hodnota indexu je větší nebo rovna hodnotě Count obrázků.

Platí pro

Viz také