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.152 -- Release Build+1c9ed7102b88ad7ba476b19c016e1931d669ea06
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