Hashtable Methods
.NET Framework 4.5
The Hashtable type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds an element with the specified key and value into the Hashtable. |
|
Clear | Removes all elements from the Hashtable. |
|
Clone | Creates a shallow copy of the Hashtable. |
|
Contains | Determines whether the Hashtable contains a specific key. |
|
ContainsKey | Determines whether the Hashtable contains a specific key. |
|
ContainsValue | Determines whether the Hashtable contains a specific value. |
|
CopyTo | Copies the Hashtable elements to a one-dimensional Array instance at the specified index. |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Returns an IDictionaryEnumerator that iterates through the Hashtable. |
|
GetHash | Returns the hash code for the specified key. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the Hashtable. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
KeyEquals | Compares a specific Object with a specific key in the Hashtable. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. |
|
Remove | Removes the element with the specified key from the Hashtable. |
|
Synchronized | Returns a synchronized (thread-safe) wrapper for the Hashtable. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
|
IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. |