Hashtable Constructor
Supported by the .NET Compact Framework. |
Overloaded. Initializes a new instance of the Hashtable class. |
Count
Supported by the .NET Compact Framework. |
Gets the number of key-and-value pairs contained in the Hashtable. |
IsFixedSize
Supported by the .NET Compact Framework. |
Gets a value indicating whether the Hashtable has a fixed size. |
IsReadOnly
Supported by the .NET Compact Framework. |
Gets a value indicating whether the Hashtable is read-only. |
IsSynchronized
Supported by the .NET Compact Framework. |
Gets a value indicating whether access to the Hashtable is synchronized (thread-safe). |
Item |
Gets or sets the value associated with the specified key.
In C#, this property is the indexer for the Hashtable class. |
Keys
Supported by the .NET Compact Framework. |
Gets an ICollection containing the keys in the Hashtable. |
SyncRoot
Supported by the .NET Compact Framework. |
Gets an object that can be used to synchronize access to the Hashtable. |
Values
Supported by the .NET Compact Framework. |
Gets an ICollection containing the values in the Hashtable. |
Add
Supported by the .NET Compact Framework. |
Adds an element with the specified key and value into the Hashtable. |
Clear
Supported by the .NET Compact Framework. |
Removes all elements from the Hashtable. |
Clone
Supported by the .NET Compact Framework. |
Creates a shallow copy of the Hashtable. |
Contains
Supported by the .NET Compact Framework. |
Determines whether the Hashtable contains a specific key. |
ContainsKey
Supported by the .NET Compact Framework. |
Determines whether the Hashtable contains a specific key. |
ContainsValue
Supported by the .NET Compact Framework. |
Determines whether the Hashtable contains a specific value. |
CopyTo
Supported by the .NET Compact Framework. |
Copies the Hashtable elements to a one-dimensional Array instance at the specified index. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. |
Overloaded. Determines whether two Object instances are equal. |
GetEnumerator
Supported by the .NET Compact Framework. |
Returns an IDictionaryEnumerator that can iterate through the Hashtable. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetObjectData |
Implements the ISerializable interface and returns the data needed to serialize the Hashtable. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. |
Gets the Type of the current instance. |
OnDeserialization |
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. |
Remove
Supported by the .NET Compact Framework. |
Removes the element with the specified key from the Hashtable. |
![]() Synchronized
Supported by the .NET Compact Framework. |
Returns a synchronized (thread-safe) wrapper for the Hashtable. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. |
Returns a String that represents the current Object. |
Hashtable Constructor |
Overloaded. Initializes a new instance of the Hashtable class. |
comparer
Supported by the .NET Compact Framework. |
Gets or sets the comparer to use for the Hashtable. |
hcp
Supported by the .NET Compact Framework. |
Gets or sets the object that can dispense hash codes. |
Finalize (inherited from Object)
Supported by the .NET Compact Framework. |
Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
GetHash
Supported by the .NET Compact Framework. |
Returns the hash code for the specified key. |
KeyEquals
Supported by the .NET Compact Framework. |
Compares a specific Object with a specific key in the Hashtable. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. |
Creates a shallow copy of the current Object. |
| IEnumerable.GetEnumerator | Returns an IEnumerator that can iterate through the Hashtable. |