PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Dictionary<TKey, TValue>Set­Item
Open sandboxFocus

AdvisableDictionary<TKey, TValue>.SetItem Method

SetItem(TKey, TValue, TValue)

Sets the value with the specified key in the underlying dictionary.

Declaration
protected virtual void SetItem(TKey key, TValue value, TValue oldValue)
Parameters
Type Name Description
TKey key

The key of the element to add or replace.

TValue value

The new value to assign to the key.

TValue oldValue

The old value assigned to key, or null if there is currently no value assigned to key.