Share via


Queue.CopyTo Method

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

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

Syntax

[MethodImplAttribute(InternalCall)]
public virtual void CopyTo (
         Array array,
         int index
)

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 and 4.2.

See Also

Reference

Queue Class
Queue Members
System.Collections Namespace