Click or drag to resize

CacheTKey, TValueAdd Method

Adds the specified key and value to the dictionary. If the cache has reached its capacity oldest element will be removed automatically

Namespace: GSF.Net.Snmp.Security
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.218-beta
Syntax
public void Add(
	TKey key,
	TValue value
)
View Source

Parameters

key  TKey
The key of the element to add.
value  TValue
The value of the element to add.
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null
ArgumentExceptionAn element with the same key already exists in the Cache
See Also