Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Hashtable Constructor

Initializes a new instance of the Hashtable class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by the XNA Framework Hashtable() Initializes a new, empty instance of the Hashtable class using the default initial capacity, load factor, hash code provider, and comparer.
Public method Supported by the XNA 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.
Public method Supported by the XNA 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.
Public method Supported by the XNA 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.
Public method Supported by the XNA 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.
Public method Supported by the XNA 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.
Public method Supported by the XNA Framework Hashtable(IHashCodeProvider, IComparer) Obsolete. 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.
Public method Supported by the XNA 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.
Public method Supported by the XNA 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.
Protected method Hashtable(SerializationInfo, StreamingContext) Initializes a new, empty instance of the Hashtable class that is serializable using the specified SerializationInfo and StreamingContext objects.
Public method Supported by the XNA Framework Hashtable(IDictionary, IHashCodeProvider, IComparer) Obsolete. 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. This API is obsolete. For an alternative, see Hashtable.
Public method Supported by the XNA 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.
Public method Supported by the XNA Framework Hashtable(Int32, IHashCodeProvider, IComparer) Obsolete. Initializes a new, empty instance of the Hashtable class using the specified initial capacity, hash code provider, comparer, and the default load factor.
Public method Supported by the XNA Framework Hashtable(Int32, Single, IEqualityComparer) Initializes a new, empty instance of the Hashtable class using the specified initial capacity, load factor, and IEqualityComparer object.
Public method Hashtable(IDictionary, Single, IHashCodeProvider, IComparer) Obsolete. 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.
Public method Hashtable(Int32, Single, IHashCodeProvider, IComparer) Obsolete. Initializes a new, empty instance of the Hashtable class using the specified initial capacity, load factor, hash code provider, and comparer.
Top
Show:
© 2015 Microsoft