Export (0) Print
Expand All
3 out of 3 rated this helpful - Rate this topic

Hashtable Constructor

Initializes a new instance of the Hashtable class.
Name Description
Hashtable () Initializes a new, empty instance of the Hashtable class using the default initial capacity, load factor, hash code provider, and comparer.

Supported by the .NET Compact Framework.

Hashtable (IDictionary) Initializes a new instance of the Hashtable class by copying the elements from the specified dictionary to the new Hashtable object. The new Hashtable object has an initial capacity equal to the number of elements copied, and uses the default load factor, hash code provider, and comparer.

Supported by the .NET Compact Framework.

Hashtable (IEqualityComparer) Initializes a new, empty instance of the Hashtable class using the default initial capacity and load factor, and the specified IEqualityComparer object.

Supported by the .NET Compact Framework.

Hashtable (Int32) Initializes a new, empty instance of the Hashtable class using the specified initial capacity, and the default load factor, hash code provider, and comparer.

Supported by the .NET Compact Framework.

Hashtable (IDictionary, IEqualityComparer) Initializes a new instance of the Hashtable class by copying the elements from the specified dictionary to a new Hashtable object. The new Hashtable object has an initial capacity equal to the number of elements copied, and uses the default load factor and the specified IEqualityComparer object.

Supported by the .NET Compact Framework.

Hashtable (IDictionary, Single) Initializes a new instance of the Hashtable class by copying the elements from the specified dictionary to the new Hashtable object. The new Hashtable object has an initial capacity equal to the number of elements copied, and uses the specified load factor, and the default hash code provider and comparer.

Supported by the .NET Compact Framework.

Hashtable (IHashCodeProvider, IComparer) Initializes a new, empty instance of the Hashtable class using the default initial capacity and load factor, and the specified hash code provider and comparer.

Supported by the .NET Compact Framework.

Hashtable (Int32, IEqualityComparer) Initializes a new, empty instance of the Hashtable class using the specified initial capacity and IEqualityComparer, and the default load factor.

Supported by the .NET Compact Framework.

Hashtable (Int32, Single) Initializes a new, empty instance of the Hashtable class using the specified initial capacity and load factor, and the default hash code provider and comparer.

Supported by the .NET Compact Framework.

Hashtable (SerializationInfo, StreamingContext) Initializes a new, empty instance of the Hashtable class that is serializable using the specified SerializationInfo and StreamingContext objects.
Hashtable (IDictionary, IHashCodeProvider, IComparer) Initializes a new instance of the Hashtable class by copying the elements from the specified dictionary to the new Hashtable object. The new Hashtable object has an initial capacity equal to the number of elements copied, and uses the default load factor, and the specified hash code provider and comparer.

Supported by the .NET Compact Framework.

Hashtable (IDictionary, Single, IEqualityComparer) Initializes a new instance of the Hashtable class by copying the elements from the specified dictionary to the new Hashtable object. The new Hashtable object has an initial capacity equal to the number of elements copied, and uses the specified load factor and IEqualityComparer object.

Supported by the .NET Compact Framework.

Hashtable (Int32, IHashCodeProvider, IComparer) Initializes a new, empty instance of the Hashtable class using the specified initial capacity, hash code provider, comparer, and the default load factor.

Supported by the .NET Compact Framework.

Hashtable (Int32, Single, IEqualityComparer) Initializes a new, empty instance of the Hashtable class using the specified initial capacity, load factor, and IEqualityComparer object.

Supported by the .NET Compact Framework.

Hashtable (IDictionary, Single, IHashCodeProvider, IComparer) Initializes a new instance of the Hashtable class by copying the elements from the specified dictionary to the new Hashtable object. The new Hashtable object has an initial capacity equal to the number of elements copied, and uses the specified load factor, hash code provider, and comparer.
Hashtable (Int32, Single, IHashCodeProvider, IComparer) Initializes a new, empty instance of the Hashtable class using the specified initial capacity, load factor, hash code provider, and comparer.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.