Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableDictionary<TKey, TValue>::Item Property (TKey)

 

Gets the TValue associated with the specified key.

Namespace:   System.Collections.Immutable
Assembly:  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: TValue

The value associated with the specified key. If no results are found, the operation throws an exception.

Return to top
Show:
© 2017 Microsoft