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
 AddAdds a new key/value pair to the table. 
 CleanCauses the Hashtable to clean up deleted buckets to improve searching capabilities. 
 ClearClears all of the elements from the table. 
 CloneReturns a clone of the current instance. 
 ContainsChecks if the current instance contains a specific key. 
 ContainsKeyChecks if the current instance contains a specific key. 
 ContainsValueChecks if the current instance contains a specific value. 
 CopyToCopies the contents of the table to an array. 
 EqualsReturns a boolean indicating if the value and this object instance are the same instance. 
 GetEnumeratorReturns an enumerator for the table. 
 GetHashCodeReturns a pseudo-unique number identifying this instance. 
 RemoveRemoves a key/value pair associated with a specific key. 
 ToStringReturns a string representation of this object instance.