ReadOnlyDictionary<TKey, TValue>.IDictionary<TKey, TValue>.Item property
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Private Property Item ( _
key As TKey _
) As TValue Implements IDictionary(Of TKey, TValue).Item
Get
Set
'Usage
Dim instance As ReadOnlyDictionary
Dim key As TKey
Dim value As TValue
value = CType(instance, IDictionary(Of TKey, TValue)).Item(key)
CType(instance, IDictionary(Of TKey, TValue)).Item(key) = value
TValue IDictionary<TKey, TValue>.this[
TKey key
] { get; set; }
Parameters
- key
Type: TKey
Property value
Type: TValue
Implements
IDictionary<TKey, TValue>.Item[TKey]
See also
Reference
ReadOnlyDictionary<TKey, TValue> class