PowerSNMP for .NET
ContainsKey Method (SafeDictionary<TKey,TValue>)




Key used for lookup.
Gets or sets the value associated with the specified key.
Syntax
Public Shadows Function ContainsKey( _
   ByVal key As TKey _
) As Boolean
Dim instance As SafeDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As Boolean
 
value = instance.ContainsKey(key)
public new bool ContainsKey( 
   TKey key
)
public: new bool ContainsKey( 
   TKey* key
) 
public:
new bool ContainsKey( 
   TKey^ key
) 

Parameters

key
Key used for lookup.

Return Value

true if the key is found in the Dictionary.
Remarks
Locks on SyncRoot to provide automatic thread safety.
See Also

Reference

SafeDictionary<TKey,TValue> Class
SafeDictionary<TKey,TValue> Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic