ImageList.ImageCollection Methods

ImageList.ImageCollection Methods

 

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

NameDescription
System_CAPS_pubmethodAdd(Icon)

Adds the specified icon to the ImageList.

System_CAPS_pubmethodAdd(Image)

Adds the specified image to the ImageList.

System_CAPS_pubmethodAdd(Image, Color)

Adds the specified image to the ImageList, using the specified color to generate the mask.

System_CAPS_pubmethodAdd(String, Icon)

Adds an icon with the specified key to the end of the collection.

System_CAPS_pubmethodAdd(String, Image)

Adds an image with the specified key to the end of the collection.

System_CAPS_pubmethodAddRange(Image[])

Adds an array of images to the collection.

System_CAPS_pubmethodAddStrip(Image)

Adds an image strip for the specified image to the ImageList.

System_CAPS_pubmethodClear()

Removes all the images and masks from the ImageList.

System_CAPS_pubmethodContains(Image)

Not supported. The IList.Contains method indicates whether a specified object is contained in the list.

System_CAPS_pubmethodContainsKey(String)

Determines if the collection contains an image with the specified key.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can be used to iterate through the item collection.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Image)

Not supported. The IndexOf method returns the index of a specified object in the list.

System_CAPS_pubmethodIndexOfKey(String)

Determines the index of the first occurrence of an image with the specified key in the collection.

System_CAPS_pubmethodRemove(Image)

Not supported. The IList.Remove method removes a specified object from the list.

System_CAPS_pubmethodRemoveAt(Int32)

Removes an image from the list.

System_CAPS_pubmethodRemoveByKey(String)

Removes the image with the specified key from the collection.

System_CAPS_pubmethodSetKeyName(Int32, String)

Sets the key for an image in the collection.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Copies the items in this collection to a compatible one-dimensional array, starting at the specified index of the target array.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds the specified image to the ImageList.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the Contains method. Throws a NotSupportedException in all cases.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the IndexOf method. Throws a NotSupportedException in all cases.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Implements the Insert method. Throws a NotSupportedException in all cases.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(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.

Return to top
Show:
© 2016 Microsoft