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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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