ConfigurationSaveMode Enumeration

 
System_CAPS_noteNote

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

Determines which properties are written out to a configuration file.

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

public enum ConfigurationSaveMode

Member nameDescription
Full

Causes all properties to be written to the configuration file. This is useful mostly for creating information configuration files or moving configuration values from one machine to another.

Minimal

Causes only properties that differ from inherited values to be written to the configuration file.

Modified

Causes only modified properties to be written to the configuration file, even when the value is the same as the inherited value.

The ConfigurationSaveMode enumeration values identify which properties are written out to a configuration file when calling the Save and SaveAs methods.

.NET Framework
Available since 2.0
Return to top
Show: