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.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
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