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!

Hashtable Constructor

Initializes a new instance of the Hashtable class.

Overload List

Creates a new Hashtable with the default initial capacity and the default maximum load factor, using the default hash code provider and the default comparer.

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

Creates a new Hashtable with the specified initial capacity and the default load factor, using the default hash code provider and the default comparer.

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

Creates a new Hashtable with the specified initial capacity and load factor, using the default hash code provider and the default comparer.

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

Creates a new Hashtable with the specified initial capacity and load factor, using the specified hash code provider and the specified comparer.

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

Creates a new Hashtable with the default initial capacity and the default maximum load factor, using the specified hash code provider and the specified comparer.

[Visual Basic] Overloads Public Sub New(IHashCodeProvider, IComparer)
[C#] public Hashtable(IHashCodeProvider, IComparer);
[C++] public: Hashtable(IHashCodeProvider*, IComparer);
[JScript] public function Hashtable(IHashCodeProvider, IComparer);

Creates a new Hashtable with the specified initial capacity and the default load factor, using the specified hash code provider and the specified comparer.

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

Copies the entries in the specified dictionary into a new Hashtable with the default load factor, using the default hash code provider and the default comparer.

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

Copies the entries in the specified dictionary into a new Hashtable with the specified load factor, using the default hash code provider and the default comparer.

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

Copies the entries in the specified dictionary into a new Hashtable with the default load factor, using the specified hash code provider and the specified comparer.

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

Copies the entries in the specified dictionary into a new Hashtable with the specified load factor, using the specified hash code provider and the specified comparer.

[Visual Basic] Overloads Public Sub New(IDictionary, Single, IHashCodeProvider, IComparer)
[C#] public Hashtable(IDictionary, float, IHashCodeProvider, IComparer);
[C++] public: Hashtable(IDictionary*, float, IHashCodeProvider, IComparer);
[JScript] public function Hashtable(IDictionary, float, IHashCodeProvider, IComparer);

See Also

Hashtable Class | Hashtable Members | System.Collections Namespace