Retrieves the parent node of a specific PageSiteMapNode object.

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

Syntax

C#
public override SiteMapNode GetParentNode(
	SiteMapNode node
)

Parameters

node
Type: System.Web..::.SiteMapNode
The PageSiteMapNode for which to retrieve the parent node.

Return Value

A PageSiteMapNode that represents the parent of node; otherwise, null, if the PageSiteMapNode has no parent or security trimming is enabled and the parent node is not accessible to the current user.

See Also