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>::SetItem Method (TKey, TValue)
Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
Return Value
Type: System.Collections.Immutable::ImmutableDictionary<TKey, TValue>^A new immutable dictionary that contains the specified key/value pair.
If the specified key/value pair already exists in the dictionary, this method returns the existing instance of the dictionary. If the key already exists but has a different value, this method returns a new instance of the dictionary with the overwritten value.
Show: