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!

Queue Constructor

Initializes a new instance of the Queue class.

Overload List

Creates a new Queue with the default initial capacity and growth factor.

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

Creates a new Queue with the specified initial capacity and the default growth factor.

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

Creates a new Queue with the specified initial capacity and growth factor.

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

Copies the elements from a collection into a new Queue with the same initial capacity as the number of elements copied, and the default growth factor.

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

See Also

Queue Class | Queue Members | System.Collections Namespace