ConfigurationElement.Unmerge Method
.NET Framework 3.0
Modifies the ConfigurationElement object to remove all values that should not be saved.
Namespace: System.Configuration
Assembly: System.Configuration (in system.configuration.dll)
Assembly: System.Configuration (in system.configuration.dll)
'Declaration Protected Friend Overridable Sub Unmerge ( _ sourceElement As ConfigurationElement, _ parentElement As ConfigurationElement, _ saveMode As ConfigurationSaveMode _ ) 'Usage Dim sourceElement As ConfigurationElement Dim parentElement As ConfigurationElement Dim saveMode As ConfigurationSaveMode Me.Unmerge(sourceElement, parentElement, 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.Community Additions
ADD
Show: