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.251-beta+c370f3da3791592278238855631f53a5ff418c68
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