Value Collection. Copy To(Array, Int32) Method
public: void CopyTo(Array ^ dest, int index);
public void CopyTo (Array dest, int index);
member this.CopyTo : Array * int -> unit
Public Sub CopyTo (dest As Array, index As Integer)
The zero-based index in
dest at which copying begins.
index is less than zero.
dest is multidimensional.
The number of elements in the source NameValueCollection is greater than the available space from
index to the end of the destination
The type of the source NameValueCollection cannot be cast automatically to the type of the destination
The specified array must be of a compatible type.
This method uses Array.Copy to copy the elements.
This method is an O(
n) operation, where
n is Count.