Export (0) Print
Expand All

Hashtable Members

Represents a collection of key/value pairs that are organized based on the hash code of the key.

The following tables list the members exposed by the Hashtable type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework Hashtable Overloaded. Initializes a new instance of the Hashtable class.
Top

  Name Description
Protected method Hashtable Overloaded. Initializes a new instance of the Hashtable class.
Top

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework Count Gets the number of key/value pairs contained in the Hashtable.
Public property Supported by the .NET Compact Framework IsFixedSize Gets a value indicating whether the Hashtable has a fixed size.
Public property Supported by the .NET Compact Framework IsReadOnly Gets a value indicating whether the Hashtable is read-only.
Public property Supported by the .NET Compact Framework IsSynchronized Gets a value indicating whether access to the Hashtable is synchronized (thread safe).
Public property Supported by the .NET Compact Framework Item Gets or sets the value associated with the specified key.
Public property Supported by the .NET Compact Framework Keys Gets an ICollection containing the keys in the Hashtable.
Public property Supported by the .NET Compact Framework SyncRoot Gets an object that can be used to synchronize access to the Hashtable.
Public property Supported by the .NET Compact Framework Values Gets an ICollection containing the values in the Hashtable.
Top

  Name Description
Protected property Supported by the .NET Compact Framework comparer Gets or sets the IComparer to use for the Hashtable.
Protected property Supported by the .NET Compact Framework EqualityComparer Gets the IEqualityComparer to use for the Hashtable.
Protected property Supported by the .NET Compact Framework hcp Gets or sets the object that can dispense hash codes.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Adds an element with the specified key and value into the Hashtable.
Public method Supported by the .NET Compact Framework Clear Removes all elements from the Hashtable.
Public method Supported by the .NET Compact Framework Clone Creates a shallow copy of the Hashtable.
Public method Supported by the .NET Compact Framework Contains Determines whether the Hashtable contains a specific key.
Public method Supported by the .NET Compact Framework ContainsKey Determines whether the Hashtable contains a specific key.
Public method Supported by the .NET Compact Framework ContainsValue Determines whether the Hashtable contains a specific value.
Public method Supported by the .NET Compact Framework CopyTo Copies the Hashtable elements to a one-dimensional Array instance at the specified index.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetEnumerator Returns an IDictionaryEnumerator that iterates through the Hashtable.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetObjectData Implements the ISerializable interface and returns the data needed to serialize the Hashtable.
Public method Supported by the .NET Compact Framework 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.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Remove Removes the element with the specified key from the Hashtable.
Public method Static Supported by the .NET Compact Framework Synchronized Returns a synchronized (thread safe) wrapper for the Hashtable.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework 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)
Protected method Supported by the .NET Compact Framework GetHash Returns the hash code for the specified key.
Protected method Supported by the .NET Compact Framework KeyEquals Compares a specific Object with a specific key in the Hashtable.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Top

Community Additions

ADD
Show:
© 2014 Microsoft