OutputCacheAttribute.IsChildActionCacheActive Method

Returns a value that indicates whether a child action cache is active.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Shared Function IsChildActionCacheActive ( _
	controllerContext As ControllerContext _
) As Boolean
'Usage
Dim controllerContext As ControllerContext 
Dim returnValue As Boolean 

returnValue = OutputCacheAttribute.IsChildActionCacheActive(controllerContext)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

Return Value

Type: System.Boolean
true if the child action cache is active; otherwise, false.
Show: