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.164 -- Release Build+b95966553c4f811aa9f7854867149474affcd226
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