MobileForms Toolkit Documentation

ImageCollection Methods

The methods of the ImageCollection class are listed below. For a complete list of ImageCollection class members, see the ImageCollection Members topic.

Public Instance Methods

Add Adds the specified image to the ImageListEx.
Clear (inherited from CollectionBase)Removes all objects from the CollectionBase instance.
Contains The Contains method indicates whether a specified image is contained in the list.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from CollectionBase)Returns an enumerator that iterates through the CollectionBase instance.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf The IndexOf method returns the index of a specified object in the list.
Insert Inserts the specified image to the ImageListEx at the specified index.
Remove The Remove method removes a specified image from the list.
RemoveAt (inherited from CollectionBase)Removes the element at the specified index of the CollectionBase instance.
ToImages Returns an Image array that represents the current ImageCollection.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnClear (inherited from CollectionBase)Performs additional custom processes when clearing the contents of the CollectionBase instance.
OnClearComplete Performs additional custom processes after clearing the contents of the ImageCollection instance.
OnInsert (inherited from CollectionBase)Performs additional custom processes before inserting a new element into the CollectionBase instance.
OnInsertComplete Performs additional custom processes after inserting a new element into the ImageCollection instance.
OnRemove (inherited from CollectionBase)Performs additional custom processes when removing an element from the CollectionBase instance.
OnRemoveComplete Performs additional custom processes after removing an element from the ImageCollection instance.
OnSet (inherited from CollectionBase)Performs additional custom processes before setting a value in the CollectionBase instance.
OnSetComplete (inherited from CollectionBase)Performs additional custom processes after setting a value in the CollectionBase instance.
OnValidate (inherited from CollectionBase)Performs additional custom processes when validating a value.

See Also

ImageCollection Class | Resco.Controls Namespace