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: Lextm.SharpSnmpLib.SecurityAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic void Add(
TKey key,
TValue value
)
Public Sub Add (
key As TKey,
value As TValue
)
Dim instance As Cache
Dim key As TKey
Dim value As TValue
instance.Add(key, value)
public:
void Add(
TKey key,
TValue value
)
member Add :
key : 'TKey *
value : 'TValue -> unit
Parameters
- key TKey
- The key of the element to add.
- value TValue
- The value of the element to add.
Exceptions
See Also