ConfigurationSaveMode ConfigurationSaveMode ConfigurationSaveMode ConfigurationSaveMode Enum

定义

确定写出到配置文件的属性。Determines which properties are written out to a configuration file.

public enum class ConfigurationSaveMode
public enum ConfigurationSaveMode
type ConfigurationSaveMode = 
Public Enum ConfigurationSaveMode
继承
ConfigurationSaveModeConfigurationSaveModeConfigurationSaveModeConfigurationSaveMode

字段

Full Full Full Full 2

将所有属性都写出到配置文件。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 Minimal Minimal Minimal 1

仅将不同于继承值的属性写出到配置文件。Causes only properties that differ from inherited values to be written to the configuration file.

Modified Modified Modified Modified 0

仅将修改的属性写出到配置文件,即使该值和继承的值相同。Causes only modified properties to be written to the configuration file, even when the value is the same as the inherited value.

注解

枚举值标识在Save调用和SaveAs方法时, 哪些属性将写出到配置文件中。 ConfigurationSaveModeThe ConfigurationSaveMode enumeration values identify which properties are written out to a configuration file when calling the Save and SaveAs methods.

适用于