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