XmlSiteMapProvider.GetRootNodeCore Method ()

 

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

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

Protected Friend Overrides Function GetRootNodeCore As SiteMapNode

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: