ImageList::ImageCollection Methods
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | Add(Icon^) | Adds the specified icon to the ImageList. |
![]() | Add(Image^) | Adds the specified image to the ImageList. |
![]() | Add(Image^, Color) | Adds the specified image to the ImageList, using the specified color to generate the mask. |
![]() | Add(String^, Icon^) | Adds an icon with the specified key to the end of the collection. |
![]() | Add(String^, Image^) | Adds an image with the specified key to the end of the collection. |
![]() | AddRange(array<Image^>^) | Adds an array of images to the collection. |
![]() | AddStrip(Image^) | Adds an image strip for the specified image to the ImageList. |
![]() | Clear() | Removes all the images and masks from the ImageList. |
![]() | Contains(Image^) | Not supported. The IList::Contains method indicates whether a specified object is contained in the list. |
![]() | ContainsKey(String^) | Determines if the collection contains an image with the specified key. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that can be used to iterate through the item collection. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IndexOf(Image^) | Not supported. The IndexOf method returns the index of a specified object in the list. |
![]() | IndexOfKey(String^) | Determines the index of the first occurrence of an image with the specified key in the collection. |
![]() | Remove(Image^) | Not supported. The IList::Remove method removes a specified object from the list. |
![]() | RemoveAt(Int32) | Removes an image from the list. |
![]() | RemoveByKey(String^) | Removes the image with the specified key from the collection. |
![]() | SetKeyName(Int32, String^) | Sets the key for an image in the collection. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::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. |
![]() ![]() | IList::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. |
![]() ![]() | IList::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. |
![]() ![]() | IList::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. |
![]() ![]() | IList::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. |
![]() ![]() | IList::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. |


