Click or drag to resize

CacheTKey, TValueItem Property

Gets the value associated with the specified key.

Namespace: Lextm.SharpSnmpLib.Security
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public TValue this[
	TKey key
] { get; }

Parameters

key  TKey
The key of the value to get

Return Value

TValue
The value associated with the specified key. If the specified key is not found, a get operation throws a System.Collections.Generic.KeyNotFoundException, and a set operation creates a new element with the specified key.
Exceptions
ExceptionCondition
ArgumentNullException key is null.
KeyNotFoundExceptionThe property is retrieved and key does not exist in the collection.
See Also