Метод 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
)
Параметры
- node
Тип: System.Web.SiteMapNode
- walkupLevels
Тип: System.Int32
- relativeDepthFromWalkup
Тип: System.Int32
Возвращаемое значение
См. также
Справочные материалы
SwitchableSiteMapProvider класс
Элементы SwitchableSiteMapProvider
Пространство имен Microsoft.SharePoint.Publishing.Navigation