Share via


PortalSiteMapProvider.GetParentNode Method

Returns the parent of a specified PortalSiteMapNode object.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Overrides Function GetParentNode ( _
    node As SiteMapNode _
) As SiteMapNode
'Usage
Dim instance As PortalSiteMapProvider
Dim node As SiteMapNode
Dim returnValue As SiteMapNode

returnValue = instance.GetParentNode(node)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public override SiteMapNode GetParentNode(
    SiteMapNode node
)

Parameters

Return Value

Type: System.Web.SiteMapNode
The parent of a specified PortalSiteMapNode object.

See Also

Reference

PortalSiteMapProvider Class

PortalSiteMapProvider Members

Microsoft.SharePoint.Publishing.Navigation Namespace

PortalSiteMapProvider