| ObservableIndexerTKey, TValueItem Property |
Gets the value associated with the specified key.
Namespace: TomsToolbox.ObservableCollectionsAssembly: TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax public TValue this[
TKey key
] { get; set; }
Public Default Property Item (
key As TKey
) As TValue
Get
Set
Parameters
- key TKey
- The key of the value to get or set.
Return Value
TValue
The value associated with the specified key. If the specified key is not found, or the value at the key is null,
the item generator is called to create a new element with the specified key.
Exceptions See Also