System.Web.XmlSiteMapProvider Members

The members of System.Web.XmlSiteMapProvider are listed below.

See Also: Inherited members from System.Web.StaticSiteMapProvider

Public Constructors

Creates a new, unnamed, instance of the System.Web.XmlSiteMapProvider class.

Public Properties

[read-only]
override
RootNodeSiteMapNode.

Gets the root node of the site map.

Public Methods

override
BuildSiteMap() : SiteMapNode

Loads the site map information from an XML file and builds it in memory.

Dispose()

Notifies the file monitor of the Web.sitemap file that the System.Web.XmlSiteMapProvider object no longer requires the file to be monitored.

override
FindSiteMapNode(string) : SiteMapNode

Retrieves a System.Web.SiteMapNode object that represents the page at the specified URL.

override
FindSiteMapNodeFromKey(string) : SiteMapNode

Retrieves a System.Web.SiteMapNode object based on a specified key.

override
Initialize(string, System.Collections.Specialized.NameValueCollection)

Initializes the System.Web.XmlSiteMapProvider object. The XmlSiteMapProvider.Initialize(string, System.Collections.Specialized.NameValueCollection) method does not actually build a site map, it only prepares the state of the System.Web.XmlSiteMapProvider to do so.

Protected Methods

override
AddNode(SiteMapNode, SiteMapNode)

Adds a System.Web.SiteMapNode object to the collections that are maintained by the current provider.

AddProvider(string, SiteMapNode)

Links a child site map provider to the current provider.

override
Clear()

Removes all elements in the collections of child and parent site map nodes and site map providers that the System.Web.XmlSiteMapProvider object internally tracks as part of its state.

Dispose(bool)

Notifies the file monitor of the Web.sitemap file that the System.Web.XmlSiteMapProvider object no longer requires the file to be monitored. The XmlSiteMapProvider.Dispose(bool) method takes a Boolean parameter indicating whether the method is called by user code.

override
GetRootNodeCore() : SiteMapNode

Retrieves the top-level node of the current site map data structure.

override
RemoveNode(SiteMapNode)

Removes the specified System.Web.SiteMapNode object from all node collections that are tracked by the provider.

RemoveProvider(string)

Removes a linked child site map provider from the hierarchy for the current provider.