共用方式為


PersistenceProviderElement.Unmerge 方法

定義

修改這個組態項目物件,以移除所有不應儲存的值。

protected:
 override void Unmerge(System::Configuration::ConfigurationElement ^ sourceElement, System::Configuration::ConfigurationElement ^ parentElement, System::Configuration::ConfigurationSaveMode saveMode);
protected override void Unmerge (System.Configuration.ConfigurationElement sourceElement, System.Configuration.ConfigurationElement parentElement, System.Configuration.ConfigurationSaveMode saveMode);
override this.Unmerge : System.Configuration.ConfigurationElement * System.Configuration.ConfigurationElement * System.Configuration.ConfigurationSaveMode -> unit
Protected Overrides Sub Unmerge (sourceElement As ConfigurationElement, parentElement As ConfigurationElement, saveMode As ConfigurationSaveMode)

參數

sourceElement
ConfigurationElement

目前層級上的 ConfigurationElement,其包含屬性的合併檢視。

parentElement
ConfigurationElement

ConfigurationElement;如果位於最上層,則為 null

saveMode
ConfigurationSaveMode

ConfigurationSaveMode,可決定所要包含的屬性值。

適用於