XmlSiteMapProvider::Clear Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

protected:
virtual void Clear() override

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

.NET Framework
Available since 2.0
Return to top
Show: