Modifies the ConfigurationElement object to remove all values that should not be saved.
Assembly: System.Configuration (in System.Configuration.dll)
Protected Friend Overridable Sub Unmerge ( _
sourceElement As [%$TOPIC/ms224427_en-us_VS_110_2_0_0_0_0%], _
parentElement As [%$TOPIC/ms224427_en-us_VS_110_2_0_0_0_1%], _
saveMode As [%$TOPIC/ms224427_en-us_VS_110_2_0_0_0_2%] _
)
protected internal virtual void Unmerge(
[%$TOPIC/ms224427_en-us_VS_110_2_0_1_0_0%] sourceElement,
[%$TOPIC/ms224427_en-us_VS_110_2_0_1_0_1%] parentElement,
[%$TOPIC/ms224427_en-us_VS_110_2_0_1_0_2%] saveMode
)
protected public:
virtual void Unmerge(
[%$TOPIC/ms224427_en-us_VS_110_2_0_2_0_0%]^ sourceElement,
[%$TOPIC/ms224427_en-us_VS_110_2_0_2_0_1%]^ parentElement,
[%$TOPIC/ms224427_en-us_VS_110_2_0_2_0_2%] saveMode
)
abstract Unmerge :
sourceElement:[%$TOPIC/ms224427_en-us_VS_110_2_0_3_0_0%] *
parentElement:[%$TOPIC/ms224427_en-us_VS_110_2_0_3_0_1%] *
saveMode:[%$TOPIC/ms224427_en-us_VS_110_2_0_3_0_2%] -> unit
override Unmerge :
sourceElement:[%$TOPIC/ms224427_en-us_VS_110_2_0_3_0_3%] *
parentElement:[%$TOPIC/ms224427_en-us_VS_110_2_0_3_0_4%] *
saveMode:[%$TOPIC/ms224427_en-us_VS_110_2_0_3_0_5%] -> unit
Parameters
- sourceElement
- Type:
System.ConfigurationConfigurationElement
A ConfigurationElement at the current level containing a merged view of the properties.
- parentElement
- Type:
System.ConfigurationConfigurationElement
The parent ConfigurationElement, or if this is the top level.
- saveMode
- Type:
System.ConfigurationConfigurationSaveMode
A ConfigurationSaveMode that determines which property values to include.
This method is called before the ConfigurationElement object is saved by the Configuration object in order to remove all unneeded properties.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.