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.151 -- Release Build+88a7a95372f50007db52c7cd22d106913de46182
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