Queue

Queue


Provides a collections that maintains a list of items in a First-in-First-Out sequence.


See Also

Project VBCorLib Overview | Constructors | ICollection | IEnumerable | ICloneable

Implements:

ICloneable 
ICollection 
IEnumerable 
IObject 

Public:

Properties:

NameDescription
 Count (get)Returns the number of items in the queue. 

Methods:

NameDescription
 ClearClears the contents of the queue 
 CloneReturns a clone of the queue. 
 ContainsDetermines if the queue contains a specific value. 
 CopyToCopy the contents of the queue to an array. 
 DequeueReturns the item at the head of the queue and removes that item from the queue. 
 EnqueueAdds an item to the tail of the queue, expanding the queue as necessary. 
 EqualsReturns a boolean indicating if the value and this object instance are the same instance. 
 GetEnumeratorReturns an enumerator for the queue. 
 GetHashCodeReturns a pseudo-unique number identifying this instance. 
 PeekReturns the next value to be removed from the queue without removing the value from the queue. 
 ToArrayReturns the contents of the queue in a variant array. 
 ToStringReturns a string representation of this object instance. 
 TrimToSizeResizes the internal capacity to match the number of items in the queue.