SecurityElementBase.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) 方法

定义

请修改此配置元素以移除所有不应该保存的值。Modifies this configuration element 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

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

parentElement
ConfigurationElement

父级 ConfigurationElement 对象或 null(如果该级别为顶级)。The parent ConfigurationElement object, or null if this is the top level.

saveMode
ConfigurationSaveMode

一个 ConfigurationSaveMode 对象,确定要包括哪些属性值。A ConfigurationSaveMode object that determines which property values to include.

适用于