ReadOnlyDictionaryBase<(Of <(<'TKey, TValue>)>)> Members
The ReadOnlyDictionaryBase<(Of <(<'TKey, TValue>)>)> type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
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.
|
![]() |
ContainsKey |
Determines whether a given key is found
in the dictionary.
|
![]() |
Remove |
Removes a key from the dictionary. Always throws an exception
indicating that this method is not supported in a read-only dictionary.
|
![]() |
ToString |
Shows the string representation of the dictionary. The string representation contains
a list of the mappings in the dictionary.
|
![]() |
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 | |
---|---|---|
![]() |
Item |
The indexer of the dictionary. The set accessor throws an NotSupportedException
stating the dictionary is read-only.
|
![]() |
Keys |
Returns a collection of the keys in this dictionary.
|
![]() |
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.
|