IDictionary<(Of <(<'TKey, TValue>)>)>..::..Item Property
Gets or sets the element with the specified key.
Namespace:
System.Collections.GenericAssembly: Bridge (in Bridge.dll)
Syntax
[AccessorsIndexerAttribute] [NameAttribute] [NameAttribute] TValue this[ TKey key ] { get; set; }
<AccessorsIndexerAttribute> _ <NameAttribute> _ <NameAttribute> _ Default Property Item ( _ key As TKey _ ) As TValue Get Set
[AccessorsIndexerAttribute] [NameAttribute] [NameAttribute] property TValue default[TKey key] { TValue get (TKey key); void set (TKey key, TValue value); }
Parameters
- key
- Type: TKey
The key of the element to get or set.
Return Value
The element with the specified key.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | key is null. |
System.Collections.Generic..::..KeyNotFoundException | The property is retrieved and key is not found. |
System..::..NotSupportedException | The property is set and the IDictionary<(Of <(<'TKey, TValue>)>)> is read-only. |