Constructors: NewStack

NewStack

Initializes a new instance of the Stack class that contains elements copied from the specified collection.



 Public Function NewStack(
	  ByRef Source As Variant ) As Stack

Parameters

Source
[ByRef] Variant. A collection of items copy elements from.

Return Values

Stack -  A new Stack object containing the collection of values.

Remarks

Source can be a VBA.Collection, an object implementing ICollection, or an array.

Exceptions

ExceptionCondition
ArgumentNullExceptionSource is Nothing or an uninitialized array.

See Also

Project CorLib Overview

Class Constructors Overview