Export (0) Print
Expand All

Hashtable Methods

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 ContainsKey Determines whether the Hashtable contains a specific key.
Public method ContainsValue Determines whether the Hashtable contains a specific value.
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.
Protected method GetHash Returns the hash code for the specified key.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetObjectData Implements the ISerializable interface and returns the data needed to serialize the Hashtable.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method KeyEquals Compares a specific Object with a specific key in the Hashtable.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnDeserialization Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
Public method Remove Removes the element with the specified key from the Hashtable.
Public method Static member Synchronized Returns a synchronized (thread-safe) wrapper for the Hashtable.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method AsParallel() Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsParallel() Overloaded. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable() Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method AsQueryable() Overloaded. (Defined by Queryable.)
Public Extension Method Cast<TResult>() Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Cast<TResult>() Overloaded. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. (Defined by Enumerable.)
Top

  Name Description
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Top
Show:
© 2014 Microsoft