PortalWebSiteMapNode.ParentWebNode Property
Gets the PortalWebSiteMapNode object above this one in the hierarchy.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public ReadOnly Property ParentWebNode As PortalWebSiteMapNode
Get
'Usage
Dim instance As PortalWebSiteMapNode
Dim value As PortalWebSiteMapNode
value = instance.ParentWebNode
public PortalWebSiteMapNode ParentWebNode { get; }
Property Value
Type: Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode
A reference to the PortalWebSiteMapNode.
Remarks
Accessing the WebNode property on a PortalWebSiteMapNode instance returns a reference to the same PortalWebSiteMapNode instance (for example, a PortalWebSiteMapNode is its own Web node). This property returns a node that represents this Web site's parent. This property is often equivalent to the parent node but not always, because it is possible to insert heading nodes in between Web sites in the navigation hierarchy.