PersistenceProviderElement.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) 方法
定义
修改此配置元素对象以移除所有不应该保存的值。Modifies this configuration element object to remove all values that should not be saved.
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。A ConfigurationElement at the current level containing a merged view of the properties.
- parentElement
- ConfigurationElement
父级 ConfigurationElement 或 null(如果为顶层)。The parent ConfigurationElement, or null if this is the top level.
- saveMode
- ConfigurationSaveMode
用于确定要包括哪些属性值的 ConfigurationSaveMode。A ConfigurationSaveMode that determines which property values to include.