Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ImageList.ImageCollection Methods

The ImageList.ImageCollection type exposes the following members.

  Name Description
Public method Add(Icon) Adds the specified icon to the ImageList.
Public method Add(Image) Adds the specified image to the ImageList.
Public method Add(Image, Color) Adds the specified image to the ImageList, using the specified color to generate the mask.
Public method Add(String, Icon) Adds an icon with the specified key to the end of the collection.
Public method Add(String, Image) Adds an image with the specified key to the end of the collection.
Public method AddRange Adds an array of images to the collection.
Public method AddStrip Adds an image strip for the specified image to the ImageList.
Public method Clear Removes all the images and masks from the ImageList.
Public method Contains Not supported. The IList.Contains method indicates whether a specified object is contained in the list.
Public method ContainsKey Determines if the collection contains an image with the specified key.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to iterate through the item collection.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Not supported. The IndexOf method returns the index of a specified object in the list.
Public method IndexOfKey Determines the index of the first occurrence of an image with the specified key in the collection.
Public method Remove Not supported. The IList.Remove method removes a specified object from the list.
Public method RemoveAt Removes an image from the list.
Public method RemoveByKey Removes the image with the specified key from the collection.
Public method SetKeyName Sets the key for an image in the collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Infrastructure. Copies the items in this collection to a compatible one-dimensional array, starting at the specified index of the target array.
Explicit interface implemetation Private method IList.Add Infrastructure. Adds the specified image to the ImageList.
Explicit interface implemetation Private method IList.Contains Infrastructure. Implements the Contains method. Throws a NotSupportedException in all cases.
Explicit interface implemetation Private method IList.IndexOf Infrastructure. Implements the IndexOf method. Throws a NotSupportedException in all cases.
Explicit interface implemetation Private method IList.Insert Infrastructure. Implements the Insert method. Throws a NotSupportedException in all cases.
Explicit interface implemetation Private method IList.Remove Infrastructure. Implements the Remove. Throws a NotSupportedException in all cases.
Top
Show:
© 2014 Microsoft. All rights reserved.