#DataLabelTypeCollection
##Properties
| Datatype | Property name | Property description | Default Value |
|---|---|---|---|
| Int32 | Capacity | Gets or sets the number of elements that the System.Collections.ArrayList can contain. | 0 |
| Int32 | Count | Gets the number of elements actually contained in the System.Collections.ArrayList. | 0 |
| Boolean | IsFixedSize | Gets a value indicating whether the System.Collections.ArrayList has a fixed size. | False |
| Boolean | IsReadOnly | Gets a value indicating whether the System.Collections.ArrayList is read-only. | False |
| Boolean | IsSynchronized | Gets a value indicating whether access to the System.Collections.ArrayList is synchronized (thread safe). | False |
| DataLabelType | Item | null | |
| Object | Item | null | |
| Object | SyncRoot | Gets an object that can be used to synchronize access to the System.Collections.ArrayList. | null |
##Methods
###Add(Rdl.DataLabelType)
Parameters:
###Add()
###Add(System.Object) Adds an object to the end of the System.Collections.ArrayList.
Parameters:
- System.Object value - The System.Object to be added to the end of the System.Collections.ArrayList. The value can be null.
Returns:
The System.Collections.ArrayList index at which the
###AddRange(System.Collections.ICollection) Adds the elements of an System.Collections.ICollection to the end of the System.Collections.ArrayList.
Parameters:
- System.Collections.ICollection c - The System.Collections.ICollection whose elements should be added to the end of the System.Collections.ArrayList. The collection itself cannot be null, but it can contain elements that are null.
###BinarySearch(System.Int32,System.Int32,System.Object,System.Collections.IComparer) Searches a range of elements in the sorted System.Collections.ArrayList for an element using the specified comparer and returns the zero-based index of the element.
Parameters:
- System.Int32 index - The zero-based starting index of the range to search.
- System.Int32 count - The length of the range to search.
- System.Object value - The System.Object to locate. The value can be null.
- System.Collections.IComparer comparer - The System.Collections.IComparer implementation to use when comparing elements. -or- null to use the default comparer that is the System.IComparable implementation of each element.
###BinarySearch(System.Object) Searches the entire sorted System.Collections.ArrayList for an element using the default comparer and returns the zero-based index of the element.
Parameters:
- System.Object value - The System.Object to locate. The value can be null.
###BinarySearch(System.Object,System.Collections.IComparer) Searches the entire sorted System.Collections.ArrayList for an element using the specified comparer and returns the zero-based index of the element.
Parameters:
- System.Object value - The System.Object to locate. The value can be null.
- System.Collections.IComparer comparer - The System.Collections.IComparer implementation to use when comparing elements. -or- null to use the default comparer that is the System.IComparable implementation of each element.
###Clear() Removes all elements from the System.Collections.ArrayList.
###Clone() Creates a shallow copy of the System.Collections.ArrayList.
Returns:
A shallow copy of the System.Collections.ArrayList.
###Contains(System.Object) Determines whether an element is in the System.Collections.ArrayList.
Parameters:
- System.Object item - The System.Object to locate in the System.Collections.ArrayList. The value can be null.
###CopyTo(System.Array) Copies the entire System.Collections.ArrayList to a compatible one-dimensional System.Array, starting at the beginning of the target array.
Parameters:
- System.Array array - The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ArrayList. The System.Array must have zero-based indexing.
###CopyTo(System.Array,System.Int32) Copies the entire System.Collections.ArrayList to a compatible one-dimensional System.Array, starting at the specified index of the target array.
Parameters:
- System.Array array - The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ArrayList. The System.Array must have zero-based indexing.
- System.Int32 arrayIndex - The zero-based index in
###CopyTo(System.Int32,System.Array,System.Int32,System.Int32) Copies a range of elements from the System.Collections.ArrayList to a compatible one-dimensional System.Array, starting at the specified index of the target array.
Parameters:
- System.Int32 index - The zero-based index in the source System.Collections.ArrayList at which copying begins.
- System.Array array - The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ArrayList. The System.Array must have zero-based indexing.
- System.Int32 arrayIndex - The zero-based index in
- System.Int32 count - The number of elements to copy.
###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.
Parameters:
- System.Object obj - The System.Object to compare with the current System.Object.
Returns:
true if the specified System.Object is equal to the current System.Object; otherwise, false.
###GetEnumerator() Returns an enumerator for the entire System.Collections.ArrayList.
Returns:
An System.Collections.IEnumerator for the entire System.Collections.ArrayList.
###GetEnumerator(System.Int32,System.Int32) Returns an enumerator for a range of elements in the System.Collections.ArrayList.
Parameters:
- System.Int32 index - The zero-based starting index of the System.Collections.ArrayList section that the enumerator should refer to.
- System.Int32 count - The number of elements in the System.Collections.ArrayList section that the enumerator should refer to.
Returns:
An System.Collections.IEnumerator for the specified range of elements in the System.Collections.ArrayList.
###GetHashCode() Serves as a hash function for a particular type.
Returns:
A hash code for the current System.Object.
###GetRange(System.Int32,System.Int32) Returns an System.Collections.ArrayList which represents a subset of the elements in the source System.Collections.ArrayList.
Parameters:
- System.Int32 index - The zero-based System.Collections.ArrayList index at which the range starts.
- System.Int32 count - The number of elements in the range.
Returns:
An System.Collections.ArrayList which represents a subset of the elements in the source System.Collections.ArrayList.
###GetType() Gets the System.Type of the current instance.
Returns:
The System.Type instance that represents the exact runtime type of the current instance.
###IndexOf(System.Object) Searches for the specified System.Object and returns the zero-based index of the first occurrence within the entire System.Collections.ArrayList.
Parameters:
- System.Object value - The System.Object to locate in the System.Collections.ArrayList. The value can be null.
###IndexOf(System.Object,System.Int32) Searches for the specified System.Object and returns the zero-based index of the first occurrence within the range of elements in the System.Collections.ArrayList that extends from the specified index to the last element.
Parameters:
- System.Object value - The System.Object to locate in the System.Collections.ArrayList. The value can be null.
- System.Int32 startIndex - The zero-based starting index of the search.
###IndexOf(System.Object,System.Int32,System.Int32) Searches for the specified System.Object and returns the zero-based index of the first occurrence within the range of elements in the System.Collections.ArrayList that starts at the specified index and contains the specified number of elements.
Parameters:
- System.Object value - The System.Object to locate in the System.Collections.ArrayList. The value can be null.
- System.Int32 startIndex - The zero-based starting index of the search.
- System.Int32 count - The number of elements in the section to search.
###Insert(System.Int32,Rdl.DataLabelType)
Parameters:
- System.Int32 index
- Rdl.DataLabelType obj
###Insert(System.Int32,System.Object) Inserts an element into the System.Collections.ArrayList at the specified index.
Parameters:
- System.Int32 index - The zero-based index at which
- System.Object value - The System.Object to insert. The value can be null.
###InsertRange(System.Int32,System.Collections.ICollection) Inserts the elements of a collection into the System.Collections.ArrayList at the specified index.
Parameters:
- System.Int32 index - The zero-based index at which the new elements should be inserted.
- System.Collections.ICollection c - The System.Collections.ICollection whose elements should be inserted into the System.Collections.ArrayList. The collection itself cannot be null, but it can contain elements that are null.
###LastIndexOf(System.Object) Searches for the specified System.Object and returns the zero-based index of the last occurrence within the entire System.Collections.ArrayList.
Parameters:
- System.Object value - The System.Object to locate in the System.Collections.ArrayList. The value can be null.
###LastIndexOf(System.Object,System.Int32) Searches for the specified System.Object and returns the zero-based index of the last occurrence within the range of elements in the System.Collections.ArrayList that extends from the first element to the specified index.
Parameters:
- System.Object value - The System.Object to locate in the System.Collections.ArrayList. The value can be null.
- System.Int32 startIndex - The zero-based starting index of the backward search.
###LastIndexOf(System.Object,System.Int32,System.Int32) Searches for the specified System.Object and returns the zero-based index of the last occurrence within the range of elements in the System.Collections.ArrayList that contains the specified number of elements and ends at the specified index.
Parameters:
- System.Object value - The System.Object to locate in the System.Collections.ArrayList. The value can be null.
- System.Int32 startIndex - The zero-based starting index of the backward search.
- System.Int32 count - The number of elements in the section to search.
###Remove(Rdl.DataLabelType)
Parameters:
###Remove(System.Object) Removes the first occurrence of a specific object from the System.Collections.ArrayList.
Parameters:
- System.Object obj - The System.Object to remove from the System.Collections.ArrayList. The value can be null.
###RemoveAt(System.Int32) Removes the element at the specified index of the System.Collections.ArrayList.
Parameters:
- System.Int32 index - The zero-based index of the element to remove.
###RemoveRange(System.Int32,System.Int32) Removes a range of elements from the System.Collections.ArrayList.
Parameters:
- System.Int32 index - The zero-based starting index of the range of elements to remove.
- System.Int32 count - The number of elements to remove.
###Reverse() Reverses the order of the elements in the entire System.Collections.ArrayList.
###Reverse(System.Int32,System.Int32) Reverses the order of the elements in the specified range.
Parameters:
- System.Int32 index - The zero-based starting index of the range to reverse.
- System.Int32 count - The number of elements in the range to reverse.
###SetRange(System.Int32,System.Collections.ICollection) Copies the elements of a collection over a range of elements in the System.Collections.ArrayList.
Parameters:
- System.Int32 index - The zero-based System.Collections.ArrayList index at which to start copying the elements of
- System.Collections.ICollection c - The System.Collections.ICollection whose elements to copy to the System.Collections.ArrayList. The collection itself cannot be null, but it can contain elements that are null.
###Sort() Sorts the elements in the entire System.Collections.ArrayList using the System.IComparable implementation of each element.
###Sort(System.Collections.IComparer) Sorts the elements in the entire System.Collections.ArrayList using the specified comparer.
Parameters:
- System.Collections.IComparer comparer - The System.Collections.IComparer implementation to use when comparing elements. -or- null to use the System.IComparable implementation of each element.
###Sort(System.Int32,System.Int32,System.Collections.IComparer) Sorts the elements in a range of elements in System.Collections.ArrayList using the specified comparer.
Parameters:
- System.Int32 index - The zero-based starting index of the range to sort.
- System.Int32 count - The length of the range to sort.
- System.Collections.IComparer comparer - The System.Collections.IComparer implementation to use when comparing elements. -or- null to use the System.IComparable implementation of each element.
###ToArray() Copies the elements of the System.Collections.ArrayList to a new System.Object array.
Returns:
An System.Object array containing copies of the elements of the System.Collections.ArrayList.
###ToArray(System.Type) Copies the elements of the System.Collections.ArrayList to a new array of the specified element type.
Parameters:
- System.Type type - The element System.Type of the destination array to create and copy elements to.
Returns:
An array of the specified element type containing copies of the elements of the System.Collections.ArrayList.
###ToString() Returns a System.String that represents the current System.Object.
Returns:
A System.String that represents the current System.Object.
###TrimToSize() Sets the capacity to the actual number of elements in the System.Collections.ArrayList.
