XmlSiteMapProvider.GetRootNodeCore Method

Definition

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

C#
protected internal override System.Web.SiteMapNode GetRootNodeCore();

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.

Applies to

Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also