SiteMapResolveEventArgs.Context Property


Gets the context of the page request that the requested node represents.

 property System::Web::HttpContext ^ Context { System::Web::HttpContext ^ get(); };
public System.Web.HttpContext Context { get; }
member this.Context : System.Web.HttpContext
Public ReadOnly Property Context As HttpContext

Property Value

An HttpContext, if one is specified; otherwise, null.


Event subscribers can use the HttpContext and SiteMapProvider objects to dynamically create a SiteMapNode object and retrieve information about the requested page, such as the requested URL, as well as user information.

Applies to

See also