System.Web.XmlSiteMapProvider.Clear Method

Removes all elements in the collections of child and parent site map nodes and site map providers that the System.Web.XmlSiteMapProvider object internally tracks as part of its state.

Syntax

protected override void Clear ()

Remarks

The System.Web.XmlSiteMapProvider class overrides the inherited XmlSiteMapProvider.Clear method to provide additional state cleanup beyond the basic StaticSiteMapProvider.Clear implementation, including clearing its child provider tracking and the XmlSiteMapProvider.RootNode property tracking mechanisms.

Requirements

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