ConfigurationLockCollection.Clear Method ()


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

Clears all configuration objects from the collection.

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

public void Clear()

The following code example demonstrates how to use the Clear method. This code example is part of a larger example provided for the ConfigurationLockCollection class.

// Clear the collection.

.NET Framework
Available since 2.0
Return to top