When overridden in a derived class, retrieves the parent node of a specific System.Web.SiteMapNode object.
- node
The System.Web.SiteMapNode for which to retrieve the parent node.
![]()
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.