ReadOnlyDictionaryBaseTKey, TValue Methods |
The ReadOnlyDictionaryBaseTKey, TValue generic type exposes the following members.
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.
(Overrides ReadOnlyCollectionBaseTContains(T).) |
![]() | ContainsKey |
Determines whether a given key is found
in the dictionary.
|
![]() | ConvertAllTOutput |
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.) |
![]() | CopyTo |
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.) |
![]() | CountWhere |
Counts the number of items in the collection that satisfy the condition
defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | Equals | (Inherited from Object.) |
![]() | Exists |
Determines if the collection contains any item that satisfies the condition
defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | Finalize | (Inherited from Object.) |
![]() | FindAll |
Enumerates the items in the collection that satisfy the condition defined
by predicate.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | ForEach |
Performs the specified action on each item in this collection.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | GetEnumerator |
Must be overridden to enumerate all the members of the collection.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Remove |
Removes a key from the dictionary. Always throws an exception
indicating that this method is not supported in a read-only dictionary.
|
![]() | ToArray |
Creates an array of the correct size, and copies all the items in the
collection into the array, by calling CopyTo.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | ToString |
Shows the string representation of the dictionary. The string representation contains
a list of the mappings in the dictionary.
(Overrides ReadOnlyCollectionBaseTToString.) |
![]() | TrueForAll |
Determines if all of the items in the collection satisfy the condition
defined by predicate.
(Inherited from ReadOnlyCollectionBaseT.) |
![]() | 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.
|