Click or drag to resize
IPageCacheDependencyBuilderTPageTypePagePath Method
Add dependency based on pages based on give path and scope.

Namespace: Kentico.Content.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
IPageCacheDependencyBuilder<TPageType> PagePath(
	string path,
	PathTypeEnum type = PathTypeEnum.Explicit
)

Parameters

path
Type: SystemString
Node alias path in the content tree.
type (Optional)
Type: CMS.DocumentEnginePathTypeEnum
Type of the path to define the scope.

Return Value

Type: IPageCacheDependencyBuilderTPageType
See Also