Méthode | Description | |
---|---|---|
Add ( object item ) : int |
Adds an object to the end of the System.Collections.ArrayList.
|
|
AddRange ( ICollection collection ) : void |
Adds the elements of an System.Collections.ICollection to the end of the System.Collections.ArrayList.
|
|
ArrayList ( ) : System.Runtime.InteropServices |
Initializes a new instance of the System.Collections.ArrayList class that is empty and has the default initial capacity.
|
|
ArrayList ( ICollection collection ) : System.Runtime.InteropServices |
Initializes a new instance of the System.Collections.ArrayList class that contains elements copied from the specified collection and that has the same initial capacity as the number of elements copied.
|
|
ArrayList ( int capacity ) : System.Runtime.InteropServices |
Initializes a new instance of the System.Collections.ArrayList class that is empty and has the specified initial capacity.
|
|
Clear ( ) : void |
Removes all elements from the System.Collections.ArrayList.
|
|
Clone ( ) : object | ||
Contains ( object item ) : bool |
Determines whether an element is in the System.Collections.ArrayList.
|
|
CopyTo ( Array array ) : void |
Copies the entire System.Collections.ArrayList to a compatible one-dimensional System.Array, starting at the beginning of the target array.
|
|
CopyTo ( Array array, int arrayIndex ) : void |
Copies the entire System.Collections.ArrayList to a compatible one-dimensional System.Array, starting at the specified index of the target array.
|
|
CopyTo ( int index, Array array, int arrayIndex, int count ) : void |
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.
|
|
GetEnumerator ( ) : IEnumerator |
Returns an enumerator for the entire System.Collections.ArrayList.
|
|
GetEnumerator ( int index, int count ) : IEnumerator |
Returns an enumerator for a range of elements in the System.Collections.ArrayList.
|
|
GetRange ( int index, int count ) : |
Returns an System.Collections.ArrayList which represents a subset of the elements in the source System.Collections.ArrayList.
|
|
IndexOf ( object item ) : int |
Searches for the specified System.Object and returns the zero-based index of the first occurrence within the entire System.Collections.ArrayList.
|
|
IndexOf ( object item, int startIndex ) : int |
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.
|
|
IndexOf ( object item, int startIndex, int count ) : int |
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.
|
|
Insert ( int index, object item ) : void |
Inserts an element into the System.Collections.ArrayList at the specified index.
|
|
InsertRange ( int index, ICollection collection ) : void |
Inserts the elements of a collection into the System.Collections.ArrayList at the specified index.
|
|
LastIndexOf ( object item ) : int |
Searches for the specified System.Object and returns the zero-based index of the last occurrence within the entire System.Collections.ArrayList.
|
|
LastIndexOf ( object item, int startIndex ) : int |
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.
|
|
LastIndexOf ( object item, int startIndex, int count ) : int |
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.
|
|
Remove ( object obj ) : void |
Removes the first occurrence of a specific object from the System.Collections.ArrayList.
|
|
RemoveAt ( int index ) : void |
Removes the element at the specified index of the System.Collections.ArrayList.
|
|
RemoveRange ( int index, int count ) : void |
Removes a range of elements from the System.Collections.ArrayList.
|
|
Repeat ( object item, int count ) : |
Returns an System.Collections.ArrayList whose elements are copies of the specified item.
|
|
Reverse ( ) : void |
Reverses the order of the elements in the entire System.Collections.ArrayList.
|
|
Reverse ( int index, int count ) : void |
Reverses the order of the elements in the specified range.
|
|
ToArray ( ) : object[] |
Copies the elements of the System.Collections.ArrayList to a new System.Object array.
|
|
TrimToSize ( ) : void |
Sets the capacity to the actual number of elements in the System.Collections.ArrayList.
|
|
this ( int index ) : object |
Gets or sets the element at the specified index.
|
Méthode | Description | |
---|---|---|
EnsureAdditionalCapacity ( int count ) : void | ||
SetCapacity ( int value ) : void |
public Add ( object item ) : int | ||
item | object | /// The System.Object to be added to the end of the System.Collections.ArrayList. /// The item can be null. /// |
Résultat | int |
public AddRange ( ICollection collection ) : void | ||
collection | ICollection | /// 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. /// |
Résultat | void |
public ArrayList ( ) : System.Runtime.InteropServices | ||
Résultat | System.Runtime.InteropServices |
public ArrayList ( ICollection collection ) : System.Runtime.InteropServices | ||
collection | ICollection | /// The System.Collections.ICollection whose elements are copied to the new list. /// |
Résultat | System.Runtime.InteropServices |
public ArrayList ( int capacity ) : System.Runtime.InteropServices | ||
capacity | int | /// The number of elements that the new list can initially store. /// |
Résultat | System.Runtime.InteropServices |
public Contains ( object item ) : bool | ||
item | object | /// The System.Object to locate in the System.Collections.ArrayList. The item /// can be null. /// |
Résultat | bool |
public CopyTo ( Array array ) : void | ||
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. /// |
Résultat | void |
public CopyTo ( Array array, int arrayIndex ) : void | ||
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. /// |
arrayIndex | int | /// The zero-based index in array at which copying begins. /// |
Résultat | void |
public CopyTo ( int index, Array array, int arrayIndex, int count ) : void | ||
index | int | /// The zero-based index in the source System.Collections.ArrayList at which /// copying begins. /// |
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. /// |
arrayIndex | int | /// The zero-based index in array at which copying begins. /// |
count | int | /// The number of elements to copy. /// |
Résultat | void |
public GetEnumerator ( int index, int count ) : IEnumerator | ||
index | int | /// The zero-based starting index of the System.Collections.ArrayList section /// that the enumerator should refer to. /// |
count | int | /// The number of elements in the System.Collections.ArrayList section that the /// enumerator should refer to. /// |
Résultat | IEnumerator |
public GetRange ( int index, int count ) : |
||
index | int | /// The zero-based System.Collections.ArrayList index at which the range starts. /// |
count | int | /// The number of elements in the range. /// |
Résultat |
public IndexOf ( object item ) : int | ||
item | object | /// The System.Object to locate in the System.Collections.ArrayList. The item /// can be null. /// |
Résultat | int |
public IndexOf ( object item, int startIndex ) : int | ||
item | object | /// The System.Object to locate in the System.Collections.ArrayList. The item /// can be null. /// |
startIndex | int | /// The zero-based starting index of the search. /// |
Résultat | int |
public IndexOf ( object item, int startIndex, int count ) : int | ||
item | object | /// The System.Object to locate in the System.Collections.ArrayList. The item /// can be null. /// |
startIndex | int | /// The zero-based starting index of the search. /// |
count | int | /// The number of elements in the section to search. /// |
Résultat | int |
public Insert ( int index, object item ) : void | ||
index | int | /// The zero-based index at which item should be inserted. /// |
item | object | /// The System.Object to insert. The item can be null. /// |
Résultat | void |
public InsertRange ( int index, ICollection collection ) : void | ||
index | int | /// The zero-based index at which the new elements should be inserted. /// |
collection | ICollection | /// 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. /// |
Résultat | void |
public LastIndexOf ( object item ) : int | ||
item | object | /// The System.Object to locate in the System.Collections.ArrayList. The item /// can be null. /// |
Résultat | int |
public LastIndexOf ( object item, int startIndex ) : int | ||
item | object | /// The System.Object to locate in the System.Collections.ArrayList. The item /// can be null. /// |
startIndex | int | /// The zero-based starting index of the backward search. /// |
Résultat | int |
public LastIndexOf ( object item, int startIndex, int count ) : int | ||
item | object | /// The System.Object to locate in the System.Collections.ArrayList. The item /// can be null. /// |
startIndex | int | /// The zero-based starting index of the backward search. /// |
count | int | /// The number of elements in the section to search. /// |
Résultat | int |
public Remove ( object obj ) : void | ||
obj | object | /// The System.Object to remove from the System.Collections.ArrayList. The item /// can be null. /// |
Résultat | void |
public RemoveAt ( int index ) : void | ||
index | int | /// The zero-based index of the element to remove. /// |
Résultat | void |
public RemoveRange ( int index, int count ) : void | ||
index | int | /// The zero-based starting index of the range of elements to remove. /// |
count | int | /// The number of elements to remove. /// |
Résultat | void |
public static Repeat ( object item, int count ) : |
||
item | object | /// The System.Object to copy multiple times in the new System.Collections.ArrayList. /// The item can be null. /// |
count | int | /// The number of times item should be copied. /// |
Résultat |
public Reverse ( int index, int count ) : void | ||
index | int | /// The zero-based starting index of the range to reverse. /// |
count | int | /// The number of elements in the range to reverse. /// |
Résultat | void |
public this ( int index ) : object | ||
index | int | /// The zero-based index of the element to get or set. /// |
Résultat | object |