XmlSiteMapProvider.GetRootNodeCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the top-level node of the current site map data structure.
protected public:
override System::Web::SiteMapNode ^ GetRootNodeCore();
protected internal override System.Web.SiteMapNode GetRootNodeCore ();
override this.GetRootNodeCore : unit -> System.Web.SiteMapNode
Protected Friend Overrides Function GetRootNodeCore () As SiteMapNode
Returns
A SiteMapNode that represents the top-level node in the current site map data structure.
Remarks
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.