SwitchableSiteMapProvider.GetParentNodeRelativeToCurrentNodeAndHintDownFromParent method
This member overrides SiteMapProvider.GetParentNodeRelativeToCurrentNodeAndHintDownFromParent(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 GetParentNodeRelativeToCurrentNodeAndHintDownFromParent ( _
walkupLevels As Integer, _
relativeDepthFromWalkup As Integer _
) As SiteMapNode
'Usage
Dim instance As SwitchableSiteMapProvider
Dim walkupLevels As Integer
Dim relativeDepthFromWalkup As Integer
Dim returnValue As SiteMapNode
returnValue = instance.GetParentNodeRelativeToCurrentNodeAndHintDownFromParent(walkupLevels, _
relativeDepthFromWalkup)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override SiteMapNode GetParentNodeRelativeToCurrentNodeAndHintDownFromParent(
int walkupLevels,
int relativeDepthFromWalkup
)
Parameters
- walkupLevels
Type: System.Int32
- relativeDepthFromWalkup
Type: System.Int32
Return value
Type: System.Web.SiteMapNode
See also
Reference
SwitchableSiteMapProvider class