ImageList.ImageCollection.RemoveAt(Int32) 方法

定義

從清單中移除影像。

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)

參數

index
Int32

要移除的影像索引。

實作

例外狀況

無法移除影像。

索引值小於 0。

-或- 索引值大於或等於影像的 Count

適用於

另請參閱