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 ()

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();

Remarks

When the number of elements in the Queue reaches its capacity, the capacity is automatically increased. The new capacity is determined by multiplying the current capacity by the growth factor.

The initial capacity is the starting capacity of the new Queue.

The default initial capacity is 32 and the default growth factor is 2.0.

See Also

Queue Class | Queue Members | System.Collections Namespace | Queue Constructor Overload List