ConfigurationSaveMode 列舉

定義

判斷哪些屬性會寫出到組態檔中。Determines which properties are written out to a configuration file.

public enum class ConfigurationSaveMode
public enum ConfigurationSaveMode
type ConfigurationSaveMode = 
Public Enum ConfigurationSaveMode
繼承
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.

適用於