Remove

This method removes an image from the ImageList.

Syntax

object.Remove(index)

Parameters

object
Object expression that evaluates to an object in an ImageList.
index
Integer or string that uniquely identifies the object within the collection. Use an integer to specify the value of the Index property and use a string to specify the value of the Key property.

Return Value

None.

Remarks

If the Remove method is passed the index of an image to remove, the image data is lost.