class ReadOnlyDictionary<TKey,TValue>
in global :: System . Collections . ObjectModel
Represents a read-only, generic collection of key/value pairs.
TKeyThe type of keys in the dictionary.TValueThe type of values in the dictionary.
public int Count { get; }
Gets the number of items in the dictionary.
- Returns The number of items in the dictionary.
public ReadOnlyDictionary<TKey,TValue>.KeyCollection Keys { get; }
Gets a key collection that contains the keys of the dictionary.
- Returns A key collection that contains the keys of the dictionary.
public ReadOnlyDictionary<TKey,TValue>.ValueCollection Values { get; }
Gets a collection that contains the values in the dictionary.
- Returns A collection that contains the values in the object that implements .
public static ReadOnlyDictionary<TKey,TValue> Empty { get; }
😔 No documentation found.
public bool ContainsKey( TKey key )
😔 No documentation found.
public bool TryGetValue( TKey key, ref TValue value )
😔 No documentation found.
public TValue Item { get; }
😔 No documentation found.
public IEnumerator<KeyValuePair<TKey,TValue>> GetEnumerator( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public ReadOnlyDictionary<TKey,TValue>( IDictionary<TKey,TValue> dictionary )
😔 No documentation found.