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.160 -- Release Build+5c02decbb6aa321138caaadf548ee87ad464d811
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