Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SiteMap Members

The SiteMap class is an in-memory representation of the navigation structure for a site, which is provided by one or more site map providers. This class cannot be inherited.

The SiteMap type exposes the following members.

Public property Static member CurrentNode Gets a SiteMapNode control that represents the currently requested page.
Public property Static member Enabled Gets a Boolean value indicating if a site map provider is specified in the Web.config file and if the site map provider is enabled.
Public property Static member Provider Gets the default SiteMapProvider object for the current site map.
Public property Static member Providers Gets a read-only collection of named SiteMapProvider objects that are available to the SiteMap class.
Public property Static member RootNode Gets a SiteMapNode object that represents the top-level page of the navigation structure for the site.

Public event Static member SiteMapResolve Occurs when the CurrentNode property is accessed.

Community Additions

© 2015 Microsoft