Collection. Copy To(Int64, Int32) Method
Copies the entire collection to a one-dimensional array, starting at the specified index of the target array. This method cannot be inherited.
public: virtual void CopyTo(cli::array <long> ^ array, int arrayIndex);
public void CopyTo (long array, int arrayIndex);
abstract member CopyTo : int64 * int -> unit override this.CopyTo : int64 * int -> unit
Public Sub CopyTo (array As Long(), arrayIndex As Integer)
The array that is the destination of the copy.
The zero-based index in the array at which copying begins.
arrayIndex is less than zero, or greater than or equal to the length of
There is not enough space in the specified array to copy the data.
array is not a single dimensional array, which is the only type supported for the requested action.
The method was called after the sequence has been disposed of.
There is not enough memory to continue the execution of the program.
Access for the specified log store is denied by the operating system.