Sets the cache settings for a children listing when it is added to cache. Override method to set e.g. control lifetime of children listing in cache or to add additional cache dependency keys.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
protected virtual void SetCacheSettings(
	PageReference pageLink,
	PageReferenceCollection childrenReferences,
	CacheSettings cacheSettings
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The page link for which children references are to be added to cache
childrenReferences
Type: EPiServer.Core..::.PageReferenceCollection
The children references that are to be added to cache
cacheSettings
Type: EPiServer.Core..::.CacheSettings
The cache settings.

See Also