Hashtable

Hashtable


The Hashtable represents a repository of key/value pairs.

Remarks

This class is persistable.

See Also

Project VBCorLib Overview | Constructors | IDictionary | ICollection | IEnumerable | ICloneable | CaseInsensitiveHashCodePrvdr | CaseInsensitiveComparer

Implements:

ICloneable 
ICollection 
IDictionary 
IEnumerable 
IObject 

Public:

Properties:

NameDescription
 Count (get) Returns the number of elements in the table.  
 IsFixedSize (get) Returns if this instance is fixed size.  
 IsReadOnly (get) Returns if this instance is readonly  
 Item (get) Returns a value associated with the specified key.  
 Item (let) Sets the value associated to the specified key.  
 Item (set) Sets the value associated to the specified key.  
 Keys (get) Retuns an ICollection object used to access the keys of the table.  
 Values (get) Retuns an ICollection object used to access the values of the table.  

Methods:

NameDescription
 Add Adds a new key/value pair to the table.  
 Clean Causes the Hashtable to clean up deleted buckets to improve searching capabilities.  
 Clear Clears all of the elements from the table.  
 Clone Returns a clone of the current instance.  
 Contains Checks if the current instance contains a specific key.  
 ContainsKey Checks if the current instance contains a specific key.  
 ContainsValue Checks if the current instance contains a specific value.  
 CopyTo Copies the contents of the table to an array.  
 Equals Returns a boolean indicating if the value and this object instance are the same instance.  
 GetEnumerator Returns an enumerator for the table.  
 GetHashCode Returns a pseudo-unique number identifying this instance.  
 Remove Removes a key/value pair associated with a specific key.  
 ToString Returns a string representation of this object instance.