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.159 -- Release Build+94b67ea5187267d7edb4458b634b6580ba7dbb78
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