 | CacheSessionContextTryGetValue Method |
Tries to get the value for the specified key from the cache.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool TryGetValue(
Object key,
out Object value
)
Public Shared Function TryGetValue (
key As Object,
<OutAttribute> ByRef value As Object
) As Boolean
Parameters
- key
- Type: SystemObject
The key. - value
- Type: SystemObject
When this method returns, contains the cached value for the specified key
or null if the cache does not contain the specified key or the cache session is not active.
Return Value
Type:
Booleantrue if the cache contained the specified key; otherwise
false.
See Also