Universal Windows Service Class Library

EventArrayList Methods

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

Public Instance Methods

Add Add element to array list end.
AddRange Add list of elements to array list.
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 Remove all elements from array list.
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 Add new element at given position to array list.
InsertRange Add new list of elements at given position to array list.
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 Remove the first found element of given object from array list.
RemoveAt Remove element at given index from array list.
RemoveRange Remove given range from array list.
Reverse (inherited from ArrayList)Overloaded. Reverses the order of the elements in the specified range.
SetRange Copies a list of elements over a range of elements in array list.
Sort (inherited from ArrayList)Overloaded. Sorts the elements in a section of ArrayList using the specified comparer.
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.

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.
OnAddEvent Function will be called when the add event should be fired.
OnRemoveEvent Function will be called when the remove event should be fired.

See Also

EventArrayList Class | uws.Utilities Namespace | ArrayList