Strongly typed version of ICloneable.Clone. Creates a new queue
with the same contents as this queue.
The queues are separate, however - adding an item to the returned
queue doesn't affect the current queue or vice versa.
A new sync root is also supplied.
Namespace: MonoSoftware.Core.CollectionsAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public RandomAccessQueue<T> Clone() |
Visual Basic |
---|
Public Function Clone As RandomAccessQueue(Of T) |
Visual C++ |
---|
public:
RandomAccessQueue<T>^ Clone() |
F# |
---|
member Clone : unit -> RandomAccessQueue<'T>
|
Return Value
Type:
RandomAccessQueue<(Of <(<'T>)>)>A clone of the current queue
See Also