Mono Class Library: System.Collections.Hashtable Overview | Members

System.Collections.Hashtable Constructor

Constructs and initializes a new instance of the Hashtable class using the values of the specified IDictionary.

public Hashtable (IDictionary d)

Parameters

d
The IDictionary used to initialize the elements of the new instance.

Exceptions

TypeReason
ArgumentNullExceptiond is null.

Remarks

The initial capacity of the new instance is set to the number of entries in d. The new instance is initialized with the default IHashCodeProvider and IComparer.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0