ListDictionaryTKey, TValueTryGetValue Method |
Gets the value that is associated with the specified key.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic bool TryGetValue(
TKey key,
out TValue value
)
Parameters
- key TKey
- The key to locate.
- value TValue
- When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
Boolean if the object that implements the
IReadOnlyDictionaryTKey, TValue interface contains an element that has the specified key; otherwise,
.
Implements
IReadOnlyDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
See Also