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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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