CacheTKey, TValueContainsKey Method |
Determines whether the Cache contains the specified key.
Namespace: Lextm.SharpSnmpLib.SecurityAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic bool ContainsKey(
TKey key
)
Public Function ContainsKey (
key As TKey
) As Boolean
Dim instance As Cache
Dim key As TKey
Dim returnValue As Boolean
returnValue = instance.ContainsKey(key)
public:
bool ContainsKey(
TKey key
)
member ContainsKey :
key : 'TKey -> bool
Parameters
- key TKey
- The key to locate in the Cache
Return Value
Booleantrue if the Cache contains an element with the specified key; otherwise, false.
See Also