Hashtable Methods

Hashtable Methods

 

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAdd(Object, Object)

Adds an element with the specified key and value into the Hashtable.

System_CAPS_pubmethodClear()

Removes all elements from the Hashtable.

System_CAPS_pubmethodClone()

Creates a shallow copy of the Hashtable.

System_CAPS_pubmethodContains(Object)

Determines whether the Hashtable contains a specific key.

System_CAPS_pubmethodContainsKey(Object)

Determines whether the Hashtable contains a specific key.

System_CAPS_pubmethodContainsValue(Object)

Determines whether the Hashtable contains a specific value.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the Hashtable elements to a one-dimensional Array instance at the specified index.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an IDictionaryEnumerator that iterates through the Hashtable.

System_CAPS_protmethodGetHash(Object)

Returns the hash code for the specified key.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Implements the ISerializable interface and returns the data needed to serialize the Hashtable.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodKeyEquals(Object, Object)

Compares a specific Object with a specific key in the Hashtable.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodOnDeserialization(Object)

Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.

System_CAPS_pubmethodRemove(Object)

Removes the element with the specified key from the Hashtable.

System_CAPS_pubmethodSystem_CAPS_staticSynchronized(Hashtable)

Returns a synchronized (thread-safe) wrapper for the Hashtable.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Return to top
Show:
© 2016 Microsoft