Gemstone Threading Library
Show/Hide TOC

# ProcessQueue T ToArray Method

Copies the elements contained in the ProcessQueueT to a new array.

## Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.163 -- Release Build+ed4795065f21e729e01fe0058da1773819737df4
C#
View Source Request Example

    public virtual T[] ToArray()

VB
View Source Request Example

    Public Overridable Function ToArray As T()

C++
View Source Request Example

    public:
    virtual array<T>^ ToArray()

JavaScript
View Source Request Example

    function ToArray();

#### Return Value

T
A new array containing the elements copied from the ProcessQueueT.

## See Also

#### Reference

ProcessQueueT Class
Gemstone.Threading.Collections Namespace