NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Stack Constructor

Initializes a new instance of the Stack class.

Overload List

Initializes an empty Stack with the default initial capacity.

[Visual Basic] Overloads Public Sub New()
[C#] public Stack();
[C++] public: Stack();
[JScript] public function Stack();

Initializes an empty Stack with the specified initial capacity or the default initial capacity, whichever is greater.

[Visual Basic] Overloads Public Sub New(Integer)
[C#] public Stack(int);
[C++] public: Stack(int);
[JScript] public function Stack(int);

Copies the elements of a collection into a new Stack with the same capacity as the number of elements copied.

[Visual Basic] Overloads Public Sub New(ICollection)
[C#] public Stack(ICollection);
[C++] public: Stack(ICollection*);
[JScript] public function Stack(ICollection);

See Also

Stack Class | Stack Members | System.Collections Namespace