다음을 통해 공유


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 (
         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

Queue Class
Queue Members
System.Collections Namespace