This method is typically not needed to call explicitly, the base class implementation will take care of adding the listing to cache after the listing has been delivered from GetChildrenReferences.

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

Syntax

C#
protected void AddChildrenListingToCache(
	PageReference pageLink,
	PageReferenceCollection children,
	string cacheKey,
	params string[] dependencyCacheKeys
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The page link.
children
Type: EPiServer.Core..::.PageReferenceCollection
The children.
cacheKey
Type: System..::.String
The key used to cache the page reference collection of child pages.
dependencyCacheKeys
Type: array< System..::.String >[]()[]
Cache dependencies for the child page reference listing.

Remarks

Override SetCacheSettings to set cache timeouts or add additional dependencies

See Also