ImageList::ImageCollection::IList::Remove Method (Object^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Implements the Remove. Throws a NotSupportedException in all cases.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- image
-
Type:
System::Object^
The object to add to the ImageList::ImageCollection.
Implements
IList::Remove(Object^)| Exception | Condition |
|---|---|
| NotSupportedException | In all cases. |
You cannot change the ImageList::ImageCollection class directly. To remove an item from the ImageList::ImageCollection, use the RemoveAt method.
.NET Framework
Available since 1.1
Available since 1.1
Show: