ReadOnlyDictionaryTKey, TValueTryGetValue Method |
Get the value associated with the specified key.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic bool TryGetValue(
TKey paramKey,
out TValue paramValue
)
Parameters
- paramKey TKey
- Specified key of the value to get.
- paramValue TValue
- Value of the associated key, if the key is found in the collection. If the key is not found the default value is returned.
Return Value
BooleanTrue, if the collection contains a value for the specified key; false, otherwise.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also