Version

SetUserCache Method

Used for caching any value.
Syntax
'Declaration
 
Public Sub SetUserCache( _
   ByVal cacheIdentifier As Object, _
   ByVal cacheValue As Object _
) 
public void SetUserCache( 
   object cacheIdentifier,
   object cacheValue
)

Parameters

cacheIdentifier
Used to identify the cached value. You need to pass in the same identifier to GetUserCache to retrieve the cached value. This can be any object, including the instance of the condition or the operand for which the value is being cached.
cacheValue
The value to cache.
Remarks

GetUserCache and SetUserCache methods are used used for caching any value that can be used during evaluations of further values in the set. See AllValues for more information.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also