ConfigurationElement.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) ConfigurationElement.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) ConfigurationElement.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) ConfigurationElement.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) Method

定義

修改 ConfigurationElement 物件,以移除不應該儲存的所有值。Modifies the ConfigurationElement object to remove all values that should not be saved.

protected public:
 virtual void Unmerge(System::Configuration::ConfigurationElement ^ source, System::Configuration::ConfigurationElement ^ parent, System::Configuration::ConfigurationSaveMode updateMode);
protected internal virtual void Unmerge (System.Configuration.ConfigurationElement source, System.Configuration.ConfigurationElement parent, System.Configuration.ConfigurationSaveMode updateMode);
abstract member Unmerge : System.Configuration.ConfigurationElement * System.Configuration.ConfigurationElement * System.Configuration.ConfigurationSaveMode -> unit
override this.Unmerge : System.Configuration.ConfigurationElement * System.Configuration.ConfigurationElement * System.Configuration.ConfigurationSaveMode -> unit
Protected Friend Overridable Sub Unmerge (source As ConfigurationElement, parent As ConfigurationElement, updateMode As ConfigurationSaveMode)

參數

sourceElement
ConfigurationElement ConfigurationElement ConfigurationElement ConfigurationElement

目前層級上的 ConfigurationElement,其包含屬性的合併檢視。A ConfigurationElement at the current level containing a merged view of the properties.

parentElement
ConfigurationElement ConfigurationElement ConfigurationElement ConfigurationElement

ConfigurationElement;如果位於最上層,則為 nullThe parent ConfigurationElement, or null if this is the top level.

saveMode
ConfigurationSaveMode ConfigurationSaveMode ConfigurationSaveMode ConfigurationSaveMode

其中一個列舉值,決定要併入哪些屬性值。One of the enumeration values that determines which property values to include.

適用於