Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISiteMapProvider.GetParentNode Method

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

[Visual Basic]
Public Sub GetParentNode( _
   ByVal node As SiteMapNode _
SiteMapNode GetParentNode(
   SiteMapNode node


The SiteMapNode for which to retrieve the parent node.

Return Value

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

See Also

ISiteMapProvider Interface | Spring.Web.Providers Namespace