Click or drag to resize

RecentDictionary<TKey, TValue>.Add Method

Adds the specified key and value to the dictionary.

Namespace:  Scaleout.Collections
Assembly:  Scaleout.Collections (in Scaleout.Collections.dll) Version: 1.0.3.0 (1.0.3.0)
Syntax
C#
public void Add(
	TKey key,
	TValue value
)

Parameters

key
Type: TKey
The key of the element to add.
value
Type: TValue
The value of the element to add. The value can be null for reference types.

Implements

IDictionary<TKey, TValue>.Add(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentExceptionAn element with the same key already exists in the dictionary.
See Also