ConfigurationSection.SerializeSection Method
.NET Framework 3.0
This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates an XML string containing an unmerged view of the ConfigurationSection object as a single section to write to a file.
Namespace: System.ConfigurationAssembly: System.Configuration (in system.configuration.dll)
protected String SerializeSection ( ConfigurationElement parentElement, String name, ConfigurationSaveMode saveMode )
protected internal function SerializeSection ( parentElement : ConfigurationElement, name : String, saveMode : ConfigurationSaveMode ) : String
Not applicable.
Parameters
- parentElement
The ConfigurationElement instance to use as the parent when performing the un-merge.
- name
The name of the section to create.
- saveMode
The ConfigurationSaveMode instance to use when writing to a string.
Return Value
An XML string containing an unmerged view of the ConfigurationSection object.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: