Gets the references to page and descendents. Override method to get references to this page and/or it's descendents, and get descendents for the page. The base class implementation will get descendents to the page(pageLink) passed in argument and then call into [!:GetReferencesToPages(PageReferenceCollection pageLinks)]. So make sure that your page provider properly imlements that method.

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


public virtual PageReferenceCollection GetReferencesToPageAndDescendents(
	PageReference pageLink,
	out PageReferenceCollection descendents


Type: EPiServer.Core..::.PageReference
The page link.
Type: EPiServer.Core..::.PageReferenceCollection %
The descendents.

Return Value

PageReferenceCollection of all pages that hold some kind of reference to this collection of pages and descendants of the page.

See Also