ConfigurationSaveMode 枚举
定义
确定写出到配置文件的属性。Determines which properties are written out to a configuration file.
public enum class ConfigurationSaveMode
public enum ConfigurationSaveMode
type ConfigurationSaveMode =
Public Enum ConfigurationSaveMode
- 继承
字段
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 | 1 | 仅将不同于继承值的属性写出到配置文件。Causes only properties that differ from inherited values to be written to the configuration file. |
Modified | 0 | 仅将修改的属性写出到配置文件,即使该值和继承的值相同。Causes only modified properties to be written to the configuration file, even when the value is the same as the inherited value. |
注解
ConfigurationSaveMode枚举值标识在调用和方法时,哪些属性将写出到配置文件中 Save SaveAs 。The ConfigurationSaveMode enumeration values identify which properties are written out to a configuration file when calling the Save and SaveAs methods.