ConfigurationElementCollection.Unmerge Method
Assembly: System.Configuration (in system.configuration.dll)
protected void Unmerge ( ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode )
protected internal override function Unmerge ( sourceElement : ConfigurationElement, parentElement : ConfigurationElement, saveMode : ConfigurationSaveMode )
Parameters
- sourceElement
A ConfigurationElement object at the current level containing a merged view of the properties.
- parentElement
The parent ConfigurationElement object of the current element, or a null reference (Nothing in Visual Basic) if this is the top level.
- saveMode
A ConfigurationSaveMode enumerated value that determines which property values to include.
The Unmerge method reverses the effect of merging configuration information from different levels of the configuration hierarchy. This allows configuration set at the current hierarchy level to be differentiated from that set at parent levels, before serialization.
Unmerge is called by the system on a new temporary element to compare the parent object and the source object. Based on the ConfigurationSaveMode value, it then sets the temporary object to contain the data that needs to be serialized. For details about save modes, see Minimal.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.