SwitchableSiteMapProvider.GetParentNodeRelativeToNodeAndHintDownFromParent method
This member overrides SiteMapProvider.GetParentNodeRelativeToNodeAndHintDownFromParent(SiteMapNode, Int32, Int32).
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function GetParentNodeRelativeToNodeAndHintDownFromParent ( _
node As SiteMapNode, _
walkupLevels As Integer, _
relativeDepthFromWalkup As Integer _
) As SiteMapNode
'Usage
Dim instance As SwitchableSiteMapProvider
Dim node As SiteMapNode
Dim walkupLevels As Integer
Dim relativeDepthFromWalkup As Integer
Dim returnValue As SiteMapNode
returnValue = instance.GetParentNodeRelativeToNodeAndHintDownFromParent(node, _
walkupLevels, relativeDepthFromWalkup)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override SiteMapNode GetParentNodeRelativeToNodeAndHintDownFromParent(
SiteMapNode node,
int walkupLevels,
int relativeDepthFromWalkup
)
Parameters
- node
Type: System.Web.SiteMapNode
- walkupLevels
Type: System.Int32
- relativeDepthFromWalkup
Type: System.Int32
Return value
Type: System.Web.SiteMapNode
See also
Reference
SwitchableSiteMapProvider class