System.Web.StaticSiteMapProvider.BuildSiteMap Method

When overridden in a derived class, loads the site map information from persistent storage and builds it in memory.

Syntax

public abstract SiteMapNode BuildSiteMap ()

Returns

The root System.Web.SiteMapNode of the site map navigation structure.

Remarks

The StaticSiteMapProvider.BuildSiteMap method is the one abstract member of the System.Web.StaticSiteMapProvider class. The StaticSiteMapProvider.BuildSiteMap method is called to load and build the site map node from persistent storage. When you implement the StaticSiteMapProvider.BuildSiteMap method, ensure that it is thread-safe, because multiple concurrent page requests can result indirectly in multiple calls to load site map information.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0