共用方式為


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

Return Value

Type: System.Web.SiteMapNode
Returns a SiteMapNode object that represents the currently requested Web page

See Also

Reference

SPContentMapProvider Class

SPContentMapProvider Members

FindSiteMapNode Overload

Microsoft.SharePoint.Navigation Namespace

System.Web.SiteMapNode

System.Web.HttpContext