XmlSiteMapProvider.Clear Method

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
protected void Clear ()
protected override function Clear ()
Not applicable.

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: