The SitemapNavigator type exposes the following members.

Constructors

  NameDescription
Public methodSitemapNavigator
Initialize a new instance of the SitemapNavigator class using sitemap data from the provided DataConnection.

Methods

  NameDescription
Public methodGetPageNodeByHostname
Gets the PageNode relating to the hostname.
Public methodGetPageNodeById
Gets a PageNode for a specific page id.

Properties

  NameDescription
Public propertyAllSitemapsXml
Gets the sitemaps for all sites. Do not modify this structure. To do modifications new up XElements taking sitemap root elements as parameter.
Public propertyStatic memberCurrentHomePageId
Gets the Id of the top level page (homepage) for the page currently being rendered
Public propertyCurrentHomePageNode
Gets the PageNode for the current homepage.
Public propertyStatic memberCurrentPageId
Gets the Id of the page currently being rendered
Public propertyCurrentPageNode
Gets the PageNode for the current page.
Public propertyHomePageIds
Gets the Id's for all homepages.
Public propertyHomePageNodes
Gets PageNode's for all homepages.
Public propertySitemapXml
Gets the sitemap for the current site. Do not modify this structure. To do modifications new up XElements taking sitemap root elements as parameter.

See Also