Common Application Framework

CommandList Methods

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

Public Instance Methods

Add Adds an object to the end of the CommandList.
AddRange Adds the elements of an ICollection to the end of the CommandList.
BinarySearch (inherited from ArrayList)Overloaded. Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element.
Clear Removes all elements from the CommandList.
Clone (inherited from ArrayList) Creates a shallow copy of the ArrayList.
Contains (inherited from ArrayList) Determines whether an element is in the ArrayList.
CopyTo (inherited from ArrayList)Overloaded. Copies the entire ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from ArrayList)Overloaded. Returns an enumerator for the entire ArrayList.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetRange (inherited from ArrayList) Returns an ArrayList which represents a subset of the elements in the source ArrayList.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf (inherited from ArrayList)Overloaded. Searches for the specified Object and returns the zero-based index of the first occurrence within the entire ArrayList.
Insert Inserts an element into the CommandList at the specified index.
InsertRange Inserts the elements of a collection into the CommandList at the specified index.
LastIndexOf (inherited from ArrayList)Overloaded. Searches for the specified Object and returns the zero-based index of the last occurrence within the section of the ArrayList that contains the specified number of elements and ends at the specified index.
Remove Removes the first occurrence of a specific object from the CommandList.
RemoveAt Removes the element at the specified index of the CommandList.
RemoveRange Removes a range of elements from the CommandList.
ReverseOverloaded. Reverses the order of the elements in the CommandList or a portion of it.
SetRange Copies the elements of a collection over a range of elements in the CommandList.
SortOverloaded. Sorts the elements in the CommandList or a portion of it.
ToArray (inherited from ArrayList)Overloaded. Copies the elements of the ArrayList to a new array of the specified type.
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize (inherited from ArrayList) Sets the capacity to the actual number of elements in the ArrayList.

See Also

CommandList Class | Aveva.ApplicationFramework.Presentation Namespace