Hashtable Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Hashtable type exposes the following members.

  Name Description
Public method Add Adds an element with the specified key and value into the Hashtable.
Public method Clear Removes all elements from the Hashtable.
Public method Clone Creates a shallow copy of the Hashtable.
Public method Contains Determines whether the Hashtable contains a specific key.
Public method CopyTo Copies the Hashtable elements to a one-dimensional Array instance at the specified index.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an IDictionaryEnumerator that iterates through the Hashtable.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the element with the specified key from the Hashtable.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show: