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!

Dictionary Constructor

Initializes a new instance of the Dictionary class.

Overload List

Creates a new Dictionary with the default initial capacity and the default maximum load factor.

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

Creates a new Dictionary with the specified initial capacity and the default load factor.

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

Creates a new Dictionary with the specified initial capacity and load factor.

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

Copies the entries in the specified dictionary into a new Dictionary.

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

See Also

Dictionary Class | Dictionary Members | System.Collections Namespace