Share via


OrderedHashtable.CopyTo(Array, Int32) Method

Definition

Copies the elements of the hashtable to an array of type object, starting at the specified array index.

public override void CopyTo (Array array, int arrayIndex);
override this.CopyTo : Array * int -> unit
Public Overrides Sub CopyTo (array As Array, arrayIndex As Integer)

Parameters

array
Array

The one-dimensional array that is the destination of the elements copied from the hashtable. The array must have zero-based indexing.

arrayIndex
Int32

The zero-based index in array at which copying begins.

Applies to