Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SiteMapProviderAdapter.GetParentNode Method

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

[Visual Basic]
Public Overrides Sub GetParentNode( _
   ByVal node As SiteMapNode _
) _
    Implements ISiteMapProvider.GetParentNode
[C#]
public override SiteMapNode GetParentNode(
   SiteMapNode node
);

Parameters

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.

Implements

ISiteMapProvider.GetParentNode

See Also

SiteMapProviderAdapter Class | Spring.Web.Providers Namespace