<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0-preview.4.21253.7" />

SettingElement

public sealed class SettingElement : ConfigurationElement
Represents a simplified configuration element used for updating elements in the configuration. This class cannot be inherited.
public string Name { get; set; }

Gets or sets the name of the SettingElement object.

public SettingsSerializeAs SerializeAs { get; set; }

Gets or sets the serialization mechanism used to persist the values of the SettingElement object.

public SettingValueElement Value { get; set; }

Gets or sets the value of a SettingElement object by using a SettingValueElement object.

public SettingElement()

Initializes a new instance of the SettingElement class.

public SettingElement(string name, SettingsSerializeAs serializeAs)

Initializes a new instance of the SettingElement class based on supplied parameters.