Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the site map nodes in the proximity of the current node.
Public Overrides Sub GetCurrentNodeAndHintNeighborhoodNodes( _
public override SiteMapNode
GetCurrentNodeAndHintNeighborhoodNodes( int upLevel
, int downLevel
- The number of ancestor SiteMapNode generations to fetch. 0 indicates no ancestor nodes are retrieved and -1 indicates that all ancestors might be retrieved and cached by the provider.
- The number of child SiteMapNode generations to fetch. 0 indicates no descendant nodes are retrieved and a -1 indicates that all descendant nodes might be retrieved and cached by the provider.
A SiteMapNode that represents the currently requested page; otherwise, null, if the SiteMapNode is not found or cannot be returned for the current user.
SiteMapProviderAdapter Class | Spring.Web.Providers Namespace