Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  queue  >  Clear()
queue class : Clear() method

Description

Removes all elements from the queue.

Syntax

queueInstance.Clear()

Arguments

None

Return value

None

Sample code

//anyQueue is a instance of queue type.

anyQueue.Clear();

Notes

It's a wrapper of the System.Collections.Generic.Queue<t>.Clear().

Links for reference

Copyright © Rice All rights reserved.