XmlSiteMapProvider::GetRootNodeCore Method ()
.NET Framework (current version)
Retrieves the top-level node of the current site map data structure.
Assembly: System.Web (in System.Web.dll)
Return Value
Type: System.Web::SiteMapNode^A SiteMapNode that represents the top-level node in the current site map data structure.
The GetRootNodeCore method calls the BuildSiteMap method to retrieve the top-level node in the site map. Therefore, any exceptions that occur for the BuildSiteMap method can also occur when calling the GetRootNodeCore method.
.NET Framework
Available since 2.0
Available since 2.0
Show: