The following tables list the members exposed by DefaultValueHashtable.

Public Constructors

  Name Description
Static Public method DefaultValueHashtable Overloaded. Initializes a new instance of the DefaultValueHashtable class.
Top

Protected Fields

  Name Description
Family field _defaultValue  
Family field _result  
Top

Public Properties

  Name Description
Public property Count Gets the number of key/value pairs contained in the Hashtable. (inherited from Hashtable)
Public property DefaultValue  
Public property IsFixedSize Gets a value indicating whether the Hashtable has a fixed size. (inherited from Hashtable)
Public property IsReadOnly Gets a value indicating whether the Hashtable is read-only. (inherited from Hashtable)
Public property IsSynchronized Gets a value indicating whether access to the Hashtable is synchronized (thread safe). (inherited from Hashtable)
Public property Item Overridden.  
Public property Keys Gets an ICollection containing the keys in the Hashtable. (inherited from Hashtable)
Public property SyncRoot Gets an object that can be used to synchronize access to the Hashtable. (inherited from Hashtable)
Public property Values Gets an ICollection containing the values in the Hashtable. (inherited from Hashtable)
Top

Protected Properties

  Name Description
Family property comparer Gets or sets the IComparer to use for the Hashtable. (inherited from Hashtable)
Family property EqualityComparer Gets the IEqualityComparer to use for the Hashtable. (inherited from Hashtable)
Family property hcp Gets or sets the object that can dispense hash codes. (inherited from Hashtable)
Top

Public Methods

  Name Description
Public method Add Adds an element with the specified key and value into the Hashtable. (inherited from Hashtable)
Public method Clear Removes all elements from the Hashtable. (inherited from Hashtable)
Public method Clone Creates a shallow copy of the Hashtable. (inherited from Hashtable)
Public method Contains Determines whether the Hashtable contains a specific key. (inherited from Hashtable)
Public method ContainsKey Determines whether the Hashtable contains a specific key. (inherited from Hashtable)
Public method ContainsValue Determines whether the Hashtable contains a specific value. (inherited from Hashtable)
Public method CopyTo Copies the Hashtable elements to a one-dimensional Array instance at the specified index. (inherited from Hashtable)
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetEnumerator Returns an IDictionaryEnumerator that iterates through the Hashtable. (inherited from Hashtable)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetObjectData Implements the ISerializable interface and returns the data needed to serialize the Hashtable. (inherited from Hashtable)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method OnDeserialization Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (inherited from Hashtable)
Public method Remove Removes the element with the specified key from the Hashtable. (inherited from Hashtable)
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method GetHash Returns the hash code for the specified key. (inherited from Hashtable)
Family method KeyEquals Compares a specific Object with a specific key in the Hashtable. (inherited from Hashtable)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

Explicit Interface Implementations

  Name Description
Static Private method DefaultValueHashtable Overloaded. Initializes a new instance of the DefaultValueHashtable class.
Top

See Also