Поделиться через


Метод SwitchableSiteMapProvider.GetParentNodeRelativeToNodeAndHintDownFromParent

Этот элемент переопределяет SiteMapProvider.GetParentNodeRelativeToNodeAndHintDownFromParent(SiteMapNode, Int32, Int32).

Пространство имен:  Microsoft.SharePoint.Publishing.Navigation
Сборка:  Microsoft.SharePoint.Publishing (в Microsoft.SharePoint.Publishing.dll)

Синтаксис

'Декларация
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function GetParentNodeRelativeToNodeAndHintDownFromParent ( _
    node As SiteMapNode, _
    walkupLevels As Integer, _
    relativeDepthFromWalkup As Integer _
) As SiteMapNode
'Применение
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
)

Параметры

Возвращаемое значение

Тип: System.Web.SiteMapNode

См. также

Справочные материалы

SwitchableSiteMapProvider класс

Элементы SwitchableSiteMapProvider

Пространство имен Microsoft.SharePoint.Publishing.Navigation