PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Dictionary<TKey, TValue>Add­Item
Open sandboxFocus

Method AddItem

AddItem(TKey, TValue)

Adds an element into the underlying dictionary.

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

The key of the element to add.

TValue value

The value of the element to add. The value can be null for reference types..