<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0-preview8.19405.3" />

SettingsProperty

public class SettingsProperty
Used internally as the class that represents metadata about an individual configuration property.
public virtual SettingsAttributeDictionary Attributes { get; }

Gets a SettingsAttributeDictionary object containing the attributes of the SettingsProperty object.

public virtual object DefaultValue { get; set; }

Gets or sets the default value of the SettingsProperty object.

public virtual bool IsReadOnly { get; set; }

Gets or sets a value specifying whether a SettingsProperty object is read-only.

public virtual string Name { get; set; }

Gets or sets the name of the SettingsProperty.

public virtual Type PropertyType { get; set; }

Gets or sets the type for the SettingsProperty.

public virtual SettingsProvider Provider { get; set; }

Gets or sets the provider for the SettingsProperty.

public virtual SettingsSerializeAs SerializeAs { get; set; }

Gets or sets a SettingsSerializeAs object for the SettingsProperty.

public bool ThrowOnErrorDeserializing { get; set; }

Gets or sets a value specifying whether an error will be thrown when the property is unsuccessfully deserialized.

public bool ThrowOnErrorSerializing { get; set; }

Gets or sets a value specifying whether an error will be thrown when the property is unsuccessfully serialized.

public SettingsProperty(string name)

Initializes a new instance of the SettingsProperty class. based on the supplied parameter.

public SettingsProperty(string name, Type propertyType, SettingsProvider provider, bool isReadOnly, object defaultValue, SettingsSerializeAs serializeAs, SettingsAttributeDictionary attributes, bool throwOnErrorDeserializing, bool throwOnErrorSerializing)

Creates a new instance of the SettingsProperty class based on the supplied parameters.

public SettingsProperty(SettingsProperty propertyToCopy)

Initializes a new instance of the SettingsProperty class, based on the supplied parameter.