SiteMapProvider.ResolveSiteMapNode Method (HttpContext)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Raises the SiteMapResolve event.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

protected SiteMapNode ResolveSiteMapNode(
	HttpContext context


Type: System.Web.HttpContext

The HttpContext for which the site map currently exists.

Return Value

Type: System.Web.SiteMapNode

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.

The context parameter and a reference to the provider that called the ResolveSiteMapNode method are passed to the constructor of any associated SiteMapResolveEventArgs object.

.NET Framework
Available since 2.0
Return to top