System.Web.Configuration.NamespaceCollection.Clear Method

Removes all System.Web.Configuration.NamespaceInfo objects from the collection.

Syntax

public void Clear ()

Remarks

This method empties the collection and inserts a clear element into the appropriate section of the configuration file to remove all references to elements defined in higher-level configuration files and in the current configuration file.

Requirements

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