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.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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