SPContentMapProvider.FindSiteMapNode Method (HttpContext)
Retrieves a SiteMapNode object that represents the currently requested page by using a specified HttpContext object.
Namespace: Microsoft.SharePoint.Navigation
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Function FindSiteMapNode ( _
context As HttpContext _
) As SiteMapNode
'Usage
Dim instance As SPContentMapProvider
Dim context As HttpContext
Dim returnValue As SiteMapNode
returnValue = instance.FindSiteMapNode(context)
public override SiteMapNode FindSiteMapNode(
HttpContext context
)
Parameters
context
Type: System.Web.HttpContextThe HttpContext that is used to match node information with the URL of the requested Web page
Return Value
Type: System.Web.SiteMapNode
Returns a SiteMapNode object that represents the currently requested Web page