Partager via


Hashtable.CopyTo Method

Copies the Hashtable elements to an existing one-dimensional Array starting at the specified array index.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual void CopyTo (
         Arrayarray,
         intindex
)

Parameters

  • array
    The one-dimensional array to which you want to copy objects from the collection. This array must have zero-based indexing.
  • index
    The zero-based index number at which you want copying to begin in the array.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

Hashtable Class
Hashtable Members
System.Collections Namespace