SPNavigationProvider.GetParentNode Method
Retrieves the parent node of a specified SiteMapNode object.
Namespace: Microsoft.SharePoint.Navigation
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Function GetParentNode ( _
node As SiteMapNode _
) As SiteMapNode
'Usage
Dim instance As SPNavigationProvider
Dim node As SiteMapNode
Dim returnValue As SiteMapNode
returnValue = instance.GetParentNode(node)
public override SiteMapNode GetParentNode(
SiteMapNode node
)
Parameters
node
Type: System.Web.SiteMapNodeThe SiteMapNode object for which the parent node is retrieved.
Return Value
Type: System.Web.SiteMapNode
Returns a SiteMapNode object that represents the part of node.