CopyTo(T[], int)
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
T[] | array | |
int | arrayIndex |
Implements
CopyTo(T[])
Copies the elements of an AdvisableHashSet<T> object to an array.
Declaration
public void CopyTo(T[] array)
Parameters
Type | Name | Description |
---|---|---|
T[] | array | The one-dimensional array that is the destination of the elements copied from the AdvisableHashSet<T> object. The array must have zero-based indexing. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
CopyTo(T[], int, int)
Copies the specified number of elements of an AdvisableHashSet<T> object to an array, starting at the specified array index.
Declaration
public void CopyTo(T[] array, int arrayIndex, int count)
Parameters
Type | Name | Description |
---|---|---|
T[] | array | The one-dimensional array that is the destination of the elements copied from the AdvisableHashSet<T> object. The array must have zero-based indexing. |
int | arrayIndex | The zero-based index in |
int | count | The number of elements to copy to |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentOutOfRangeException |
-or-
|
ArgumentException |
-or-
|