Export (0) Print
Expand All

ConfigurationElement.Unmerge Method

Modifies the ConfigurationElement object to remove all values that should not be saved.

Namespace: System.Configuration
Assembly: System.Configuration (in system.configuration.dll)

protected internal virtual void Unmerge (
	ConfigurationElement sourceElement,
	ConfigurationElement parentElement,
	ConfigurationSaveMode saveMode
)
protected void Unmerge (
	ConfigurationElement sourceElement, 
	ConfigurationElement parentElement, 
	ConfigurationSaveMode saveMode
)
protected internal function Unmerge (
	sourceElement : ConfigurationElement, 
	parentElement : ConfigurationElement, 
	saveMode : ConfigurationSaveMode
)
Not applicable.

Parameters

sourceElement

A ConfigurationElement at the current level containing a merged view of the properties.

parentElement

The parent ConfigurationElement, or a null reference (Nothing in Visual Basic) if this is the top level.

saveMode

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 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft