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
node
Type: System.Web.SiteMapNodeThe PortalSiteMapNode object to get the parent object from.
Return Value
Type: System.Web.SiteMapNode
The parent of a specified PortalSiteMapNode object.