WeakDictionaryTKey, TValueTryGetValue Method |
Tries to get the value associated with the specified key.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic virtual bool TryGetValue(
TKey key,
out TValue val
)
Parameters
- key TKey
- The key to locate.
- val TValue
- When this method returns, contains the value associated with the key, if found; otherwise, the default value.
Return Value
BooleanTrue if the key was found; otherwise, false.
See Also