System.Web.XmlSiteMapProvider.RootNode Property

Gets the root node of the site map.

Syntax

public override SiteMapNode RootNode { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The XmlSiteMapProvider.RootNode property calls the XmlSiteMapProvider.BuildSiteMap method to retrieve the top-level node in the site map. Therefore, any exceptions that occur for the XmlSiteMapProvider.BuildSiteMap method can also occur when accessing the XmlSiteMapProvider.RootNode property.

The System.Web.SiteMapProvider and System.Web.XmlSiteMapProvider classes permit only one root System.Web.SiteMapNode object in a site map. The System.Web.XmlSiteMapProvider class overrides the abstract SiteMapProvider.RootNode property and provides a simple implementation to track the root node.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0