System.Web.SiteMapProvider.GetParentNode Method

When overridden in a derived class, retrieves the parent node of a specific System.Web.SiteMapNode object.

Syntax

public abstract SiteMapNode GetParentNode (SiteMapNode node)

Parameters

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

Returns

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

Note:

SiteMapProvider.GetParentNode(SiteMapNode) might also return null if the parent node belongs to a different provider. In this case, use the SiteMapNode.ParentNode property of node instead.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0