SiteMapProvider.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.
When overridden in a derived class, retrieves the root node of all the nodes that are currently managed by the current provider.
protected public:
abstract System::Web::SiteMapNode ^ GetRootNodeCore();
protected internal abstract System.Web.SiteMapNode GetRootNodeCore ();
abstract member GetRootNodeCore : unit -> System.Web.SiteMapNode
Protected Friend MustOverride Function GetRootNodeCore () As SiteMapNode
Returns
A SiteMapNode that represents the root node of the set of nodes that the current provider manages.
Examples
protected override SiteMapNode GetRootNodeCore()
{
return RootNode;
}
Protected Overrides Function GetRootNodeCore() As SiteMapNode
Return RootNode
End Function ' GetRootNodeCore()
Remarks
The GetRootNodeCore method enables a parent provider in a provider hierarchy to obtain a SiteMapNode object that acts as a frame of reference for building the provider hierarchy and the larger site map node hierarchy that is the sum of the site map data that each provider manages.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om