SiteMapResolveEventArgs::Context Property

 

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

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

public:
property HttpContext^ Context {
	HttpContext^ get();
}

Property Value

Type: System.Web::HttpContext^

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.

.NET Framework
Available since 2.0
Return to top
Show: