Click or drag to resize
ReadOnlyDictionaryBaseTKey, TValue Methods

The ReadOnlyDictionaryBaseTKey, TValue generic type exposes the following members.

Methods
  NameDescription
Public methodContains
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.
(Overrides ReadOnlyCollectionBaseTContains(T).)
Public methodContainsKey
Determines whether a given key is found in the dictionary.
Public methodConvertAllTOutput
Convert this collection of items by applying a delegate to each item in the collection. The resulting enumeration contains the result of applying converter to each item in this collection, in order.
(Inherited from ReadOnlyCollectionBaseT.)
Public methodCopyTo
Copies all the items in the collection into an array. Implemented by using the enumerator returned from GetEnumerator to get all the items and copy them to the provided array.
(Inherited from ReadOnlyCollectionBaseT.)
Public methodCountWhere
Counts the number of items in the collection that satisfy the condition defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.)
Public methodEquals (Inherited from Object.)
Public methodExists
Determines if the collection contains any item that satisfies the condition defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.)
Protected methodFinalize (Inherited from Object.)
Public methodFindAll
Enumerates the items in the collection that satisfy the condition defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.)
Public methodForEach
Performs the specified action on each item in this collection.
(Inherited from ReadOnlyCollectionBaseT.)
Public methodGetEnumerator
Must be overridden to enumerate all the members of the collection.
(Inherited from ReadOnlyCollectionBaseT.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove
Removes a key from the dictionary. Always throws an exception indicating that this method is not supported in a read-only dictionary.
Public methodToArray
Creates an array of the correct size, and copies all the items in the collection into the array, by calling CopyTo.
(Inherited from ReadOnlyCollectionBaseT.)
Public methodToString
Shows the string representation of the dictionary. The string representation contains a list of the mappings in the dictionary.
(Overrides ReadOnlyCollectionBaseTToString.)
Public methodTrueForAll
Determines if all of the items in the collection satisfy the condition defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.)
Public methodTryGetValue
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.
Top
See Also