XmlSiteMapProvider::GetRootNodeCore Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public protected:
virtual SiteMapNode^ GetRootNodeCore() override

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
Return to top
Show: