PowerSNMP for .NET
Item Property (SafeDictionary<TKey,TValue>)




Key used for lookup.
Gets or sets the value associated with the specified key.
Syntax
Public Shadows Default Property Item( _
   ByVal key As TKey _
) As TValue
Dim instance As SafeDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
 
instance.Item(key) = value
 
value = instance.Item(key)
public new TValue this[ 
   TKey key
]; {get; set;}
public: __property new TValue* get_Item   TKey* key
;
public: __property new void set_Item   TKey* key,
   TValue* value
;
public:
new property TValue^ default [TKey^] {
   TValue^ get(TKey^ key);
   void set (TKey^ key, TValue^ value);
}

Parameters

key
Key used for lookup.

Property Value

TValue.
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