Click or drag to resize

CategorizedSettingsSectionSerializeSection Method

Creates an XML string containing an unmerged view of the ConfigurationSection object as a single section to write to a file.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
protected override string SerializeSection(
	ConfigurationElement parentElement,
	string name,
	ConfigurationSaveMode saveMode
)
View Source

Parameters

parentElement  ConfigurationElement
The ConfigurationElement instance to use as the parent when performing the un-merge.
name  String
The name of the section to create.
saveMode  ConfigurationSaveMode
The ConfigurationSaveMode instance to use when writing to a string.

Return Value

String
An XML string containing an unmerged view of the ConfigurationSection object.
See Also