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.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
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