This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Adds the result of an expression to the data used to generate a unique cache key.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.CacheKey.Add")]
public static void AddToCacheKey(
	 context,
	 data
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.CacheKey.Add")> _
Public Shared Sub AddToCacheKey ( _
	context As , _
	data As  _
)

Parameters

context
IRenderContext
The context.
data
IExpressionEvaluator
The data.

Remarks

Only valid within a cache macro's Xml.

See Also

Advanced