Adds an item to the Dictionary.
Namespace: System.Extensions.Collections.ObjectModelAssembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)
Syntax
C# |
---|
protected virtual void AddItem(
TKey key,
TValue value
) |
Visual Basic |
---|
Protected Overridable Sub AddItem (
key As TKey,
value As TValue
) |
Visual C++ |
---|
protected:
virtual void AddItem(
TKey key,
TValue value
) |
F# |
---|
abstract AddItem :
key : 'TKey *
value : 'TValue -> unit
override AddItem :
key : 'TKey *
value : 'TValue -> unit |
Parameters
- key
- Type: TKey
The key of the item to add.
- value
- Type: TValue
The item to add.
See Also