Copies the elements of the queue to the given array, beginning at
the specified index in the array.
Namespace: MonoSoftware.Core.CollectionsAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public void CopyTo(
T[] dest,
int index
) |
Visual Basic |
---|
Public Sub CopyTo (
dest As T(),
index As Integer
) |
Visual C++ |
---|
public:
virtual void CopyTo(
array<T>^ dest,
int index
) sealed |
F# |
---|
abstract CopyTo :
dest : 'T[] *
index : int -> unit
override CopyTo :
dest : 'T[] *
index : int -> unit |
Parameters
- dest
- Type: array<T>[]()[][]
The array to copy the contents of the queue into
- index
- Type: System..::..Int32
The zero-based index in array at which copying begins
Implements
ICollection<(Of <(<'T>)>)>..::..CopyTo(array<T>[]()[][], Int32)See Also