Редагувати

Поділитися через


XmlSiteMapProvider.GetRootNodeCore Method

Definition

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.

Applies to

See also