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 following tables list the members exposed by the SiteMap type.

  Name Description
Public property Static CurrentNode Gets a SiteMapNode control that represents the currently requested page.
Public property Static 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 Provider Gets the default SiteMapProvider object for the current site map.
Public property Static Providers Gets a read-only collection of named SiteMapProvider objects that are available to the SiteMap class.
Public property Static RootNode Gets a SiteMapNode object that represents the top-level page of the navigation structure for the site.
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Public event Static SiteMapResolve Occurs when the CurrentNode property is accessed.
Top

Community Additions

ADD
Show:
© 2015 Microsoft