ImageList::ImageCollection::IList::Remove Method (Object^)

 

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.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
virtual void Remove(
	Object^ image
) sealed = IList::Remove

Parameters

image
Type: System::Object^

The object to add to the ImageList::ImageCollection.

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
Return to top
Show: