ImageList::ImageCollection::RemoveAt Method (Int32)
.NET Framework (current version)
Removes an image from the list.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- index
-
Type:
System::Int32
The index of the image to remove.
Implements
IList::RemoveAt(Int32)| Exception | Condition |
|---|---|
| InvalidOperationException | The image cannot be removed. |
| ArgumentOutOfRangeException | The index value was less than 0. -or- The index value is greater than or equal to the Count of images. |
.NET Framework
Available since 1.1
Available since 1.1
Show: