mscorlib(4.0.0.0) API with additions
IReadOnlyDictionary.cs
2 {
6  [__DynamicallyInvokable]
7  public interface IReadOnlyDictionary<TKey, TValue> : IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
8  {
15  [__DynamicallyInvokable]
16  TValue this[TKey key]
17  {
18  [__DynamicallyInvokable]
19  get;
20  }
21 
24  [__DynamicallyInvokable]
26  {
27  [__DynamicallyInvokable]
28  get;
29  }
30 
33  [__DynamicallyInvokable]
35  {
36  [__DynamicallyInvokable]
37  get;
38  }
39 
47  [__DynamicallyInvokable]
48  bool ContainsKey(TKey key);
49 
58  [__DynamicallyInvokable]
59  bool TryGetValue(TKey key, out TValue value);
60  }
61 }
bool ContainsKey(TKey key)
Determines whether the read-only dictionary contains an element that has the specified key.
Exposes the enumerator, which supports a simple iteration over a collection of a specified type....
Definition: IEnumerable.cs:9
Represents a strongly-typed, read-only collection of elements.
IEnumerable< TValue > Values
Gets an enumerable collection that contains the values in the read-only dictionary.
Represents a generic read-only collection of key/value pairs.
bool TryGetValue(TKey key, out TValue value)
Gets the value that is associated with the specified key.
IEnumerable< TKey > Keys
Gets an enumerable collection that contains the keys in the read-only dictionary.