Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

ReadOnlyDictionaryBase<(Of <(<'TKey, TValue>)>)> Members

The ReadOnlyDictionaryBase<(Of <(<'TKey, TValue>)>)> type exposes the following members.

Methods


  Name Description
Public method Contains
Determines if a dictionary contains a given KeyValuePair. This implementation checks to see if the dictionary contains the given key, and if the value associated with the key is equal to (via object.Equals) the value.
Public method ContainsKey
Determines whether a given key is found in the dictionary.
Public method Remove
Removes a key from the dictionary. Always throws an exception indicating that this method is not supported in a read-only dictionary.
Public method ToString
Shows the string representation of the dictionary. The string representation contains a list of the mappings in the dictionary.
Public method TryGetValue
Determines if this dictionary contains a key equal to key. If so, the value associated with that key is returned through the value parameter. This method must be overridden in the derived class.

Properties


  Name Description
Public property Item
The indexer of the dictionary. The set accessor throws an NotSupportedException stating the dictionary is read-only.
Public property Keys
Returns a collection of the keys in this dictionary.
Public property Values
Returns a collection of the values in this dictionary. The ordering of values in this collection is the same as that in the Keys collection.