Queue
Previous  Next

The Queue object provides the following methods and properties



Methods

Clear : Clears the collection.

Contains(Obj As String) : Returns true if the collection contains Obj, false if not.
ContainsByte(Obj As Byte)
ContainsDouble(Obj As Double)
ContainsInt32(Obj As Int32) : Strongly typed versions of Contains.
 
Peek : Returns the item presently at the front of the queue without removing it.
PeekByte
PeekDouble
PeekInt32 : Strongly typed versions of Peek returning the appropriate type.

Dequeue : Returns the item at the front of the queue and removes it from the queue
DequeueByte
DequeueDouble
DequeueInt32 :  Strongly typed versions of Dequeue returning the appropriate type.

Enqueue(Obj As String) : Places Obj at the rear of the queue.
EnqueueByte(Obj As Byte)
EnqueueDouble(Obj As Double)
EnqueueInt32(Obj As Int32) :Strongly typed versions of Enqueue.

ToArray : Returns the contents of the queue as an array.
ToArrayByte
ToArrayDouble
ToArrayInt32 : Strongly typed versions of ToArray.


Properties

I signifies readable, O signifies settable.


Count : Int32 [I] : The number of items in the collection.

ControlRef : Control [I] : The underlying .NET Queue collection control. Not useful within Basic4PPC.

Dllversion : Double [I] : The version number of this library.