AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageEngineBase..::..WebCache_ClearItem Method

Clears a specific item from the web cache.

Namespace:  AdvantageCMS.Core.Common.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public bool WebCache_ClearItem(
	string key
)

Parameters

key
Type: String
The cache key of the item to clear.

Return Value

true if the item was cleared successfully; false if no HttpContext is available or an error occurred.