Stack

Stack


Represents a first-in-last-out collection of values.


See Also

Project VBCorLib Overview | Constructors | ICollection | IEnumerable | ICloneable

Implements:

ICloneable 
ICollection 
IEnumerable 
IObject 

Public:

Properties:

NameDescription
 Count (get)Returns the number of items on the stack. 

Methods:

NameDescription
 ClearRemoves all values from the collection. 
 CloneReturns a copy of this instance. 
 ContainsReturns whether the collection contains a value. 
 CopyToCopies the values to an array. 
 EqualsReturns a boolean indicating if the value and this object instance are the same instance. 
 GetEnumeratorReturns an enumerator to enumerate the colleciton 
 GetHashCodeReturns a pseudo-unique number identifying this instance. 
 PeekReturns the next to be removed value from the stack without removing the value. 
 PopReturns the next value from the stack, removing the item from the collection. 
 PushPlaces a value into the collection and becomes the next to be removed value from the collection. 
 ToArrayReturns a Variant array copy of the stack. 
 ToStringReturns a string representation of this object instance.