Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Copies the elements of the ICollection to an
array, starting at a particular index.
Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public virtual void CopyTo( Array array, int index ) |
Parameters
- array
- Type: System..::..Array
The one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based indexing.
- index
- Type: System..::..Int32
The zero-based index in array at which copying begins.
Implements
ICollection..::..CopyTo(Array, Int32)Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Array is null. |
System..::..ArgumentOutOfRangeException | Index is less than zero. |
System..::..ArgumentException | Array is multidimensional or index is equal to or greater than the length of array or the number of elements in the source collection is greater than the available space from index to the end of the destination array. |
System..::..InvalidCastException | The type of the source collection cannot be cast automatically to the type of the destination array. |