System.Web.XmlSiteMapProvider.GetRootNodeCore Method

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

Syntax

protected override SiteMapNode GetRootNodeCore ()

Returns

A System.Web.SiteMapNode that represents the top-level node in the current site map data structure.

Remarks

The XmlSiteMapProvider.GetRootNodeCore method 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 calling the XmlSiteMapProvider.GetRootNodeCore method.

Requirements

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