Click or drag to resize
Ranorex

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
Syntax
public static bool TryGetValue(
	Object key,
	out Object value
)

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: Boolean
true if the cache contained the specified key; otherwise false.
See Also