This documentation is archived and is not being maintained.
ImmutableDictionary<TKey, TValue>::Item Property (TKey)
Gets the TValue associated with the specified key.
Namespace:
System.Collections.ImmutableAssembly:
System.Collections.Immutable (in System.Collections.Immutable.dll)
public:
property TValue default[
TKey key
] {
virtual TValue get(TKey key) sealed;
}
Parameters
- key
-
Type:
TKey
The type of the key.
Property Value
Type:
TValueThe value associated with the specified key. If no results are found, the operation throws an exception.
Return to top