Gets all descendents for the page (that is at all levels) regardless serving page provider. That is if some descendent is a entry point, references to pages from that provider will be included as well.

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 6.1.379.0

Syntax

C#
public IList<PageReference> GetDescendents(
	PageReference pageLink
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The page link.

Return Value

A list of references for the descendents

Remarks

If only descendent for one level is needed GetChildren is probably more efficient since this method will get all descentents. In case of a large tree this can take some time.

See Also