Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft