XmlSiteMapProvider.Clear Method

Definition

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.

C#
protected override void Clear();

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also