SiteMapProvider.ResolveSiteMapNode(HttpContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the SiteMapResolve event.
protected:
System::Web::SiteMapNode ^ ResolveSiteMapNode(System::Web::HttpContext ^ context);
protected System.Web.SiteMapNode ResolveSiteMapNode (System.Web.HttpContext context);
member this.ResolveSiteMapNode : System.Web.HttpContext -> System.Web.SiteMapNode
Protected Function ResolveSiteMapNode (context As HttpContext) As SiteMapNode
Parameters
- context
- HttpContext
The HttpContext for which the site map currently exists.
Returns
A SiteMapNode provided by the event handler delegate that is registered to handle the event or, if more than one delegate is registered to handle the event, the return value of the last delegate in the delegate chain; otherwise, null
.
Remarks
The context
parameter and a reference to the provider that called the ResolveSiteMapNode method are passed to the constructor of any associated SiteMapResolveEventArgs object.