Click or drag to resize

ProcessDictionaryTKey, TValueAdd(TKey, TValue) Method

Adds an element with the provided key and value to the ProcessDictionaryTKey, TValue.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
Syntax
public void Add(
	TKey key,
	TValue value
)
View Source

Parameters

key  TKey
The object to use as the key of the element to add.
value  TValue
The object to use as the value of the element to add.

Implements

IDictionaryTKey, TValueAdd(TKey, TValue)
Exceptions
ExceptionCondition
NotSupportedExceptionThe ProcessDictionaryTKey, TValue is read-only.
ArgumentExceptionAn element with the same key already exists in the ProcessDictionaryTKey, TValue.
ArgumentNullExceptionkey is null.
See Also