IDictionary

IDictionary


This provides a standard interface to be impelments by key-value list collection.


Remarks


Lists that maintain a key-value pair should implement this interface to allow cross-compatibility usage amongst all key-value pair lists.

See Also

Project VBCorLib Overview

Public:

Properties:

NameDescription
 Count (get)Returns the size of the collection. 
 IsFixedSize (get)Returns if this instance is fixed-size. 
 IsReadOnly (get)Returns if this instance is read-only. 
 Item (get)Returns an item from the list that is associated with the specified key. 
 Item (let)Sets the value in the list that is associated to the specified key. 
 Item (set)Sets the value in the list that is associated to the specified key. 
 Keys (get)Returns a collection of the keys in the list. 
 Values (get)Returns a collection of the values in the list. 

Methods:

NameDescription
 AddAdds a new value that is associated with the key to the list. 
 ClearClears the list of its contents. 
 ContainsSearches for the existence of the key in the list. 
 CopyToCopies the contents of the collection to an array. 
 GetEnumeratorReturns an IEnumerator object. 
 RemoveRemoves a value from the list that is associated to the key.