Click or drag to resize
IOutputCacheKeyGetVaryByCustomString Method
Returns cache key specific for the current cache item.

Namespace: Kentico.Web.Mvc
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
string GetVaryByCustomString(
	HttpContextBase context,
	string custom
)

Parameters

context
Type: System.WebHttpContextBase
An HttpContext object that contains information about the current Web request.
custom
Type: SystemString
The custom string that specifies which cached response is used to respond to the current request.

Return Value

Type: String
See Also