System.Web.Configuration.EventMappingSettingsCollection.Clear Method

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

Syntax

public void Clear ()

Remarks

This method inserts a clear directive into the appropriate section of the configuration file to clear all references to elements defined in a higher-level configuration file. All elements defined in the appropriate section of the current configuration file are removed.

Requirements

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