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.143 -- Release Build+ef9e327cb82df5c84760e141284a59e4d431fe74
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