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

当前级别上包含属性的合并视图的 ConfigurationElementA ConfigurationElement at the current level containing a merged view of the properties.

parentElement
ConfigurationElement ConfigurationElement ConfigurationElement ConfigurationElement

父级 ConfigurationElementnull(如果为顶层)。The 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.

适用于