Gemstone Threading Library
Show/Hide TOC

# DoubleBufferedQueue T TryClear Method

Attempts to enqueue a collection of items into the double-buffered queue.

## Definition

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

    public bool TryClear()

VB
View Source Request Example

    Public Function TryClear As Boolean

C++
View Source Request Example

    public:
    bool TryClear()

JavaScript
View Source Request Example

    function TryClear();

#### Return Value

Boolean
True if the items were successfully enqueued; false otherwise.

## See Also

#### Reference

DoubleBufferedQueueT Class
Gemstone.Threading.Collections Namespace