PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Determines whether the current code is executed within a cache macro.

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

Syntax

C#Copy imageCopy Code
[(Name = "{0}.IsInCache")]
public static <bool> IsInCache(
	 context
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.IsInCache")> _
Public Shared Function IsInCache ( _
	context As  _
) As (Of )

Parameters

context
IRenderContext
The context.

Return Value

True if a cache macro wraps the current code.

See Also

Advanced