<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0-preview.4.23259.5" />

ConfigurationProperty

public sealed class ConfigurationProperty
Represents an attribute or a child of a configuration element. This class cannot be inherited.
public TypeConverter Converter { get; }

Gets the TypeConverter used to convert this ConfigurationProperty into an XML representation for writing to the configuration file.

public object DefaultValue { get; }

Gets the default value for this ConfigurationProperty property.

public string Description { get; }

Gets the description associated with the ConfigurationProperty.

Indicates whether the assembly name for the configuration property requires transformation when it is serialized for an earlier version of the .NET Framework.

public bool IsDefaultCollection { get; }

Gets a value that indicates whether the property is the default collection of an element.

public bool IsKey { get; }

Gets a value indicating whether this ConfigurationProperty is the key for the containing ConfigurationElement object.

public bool IsRequired { get; }

Gets a value indicating whether this ConfigurationProperty is required.

Indicates whether the type name for the configuration property requires transformation when it is serialized for an earlier version of the .NET Framework.

public bool IsVersionCheckRequired { get; }

Indicates whether the configuration property's parent configuration section is queried at serialization time to determine whether the configuration property should be serialized into XML.

public string Name { get; }

Gets the name of this ConfigurationProperty.

public Type Type { get; }

Gets the type of this ConfigurationProperty object.

Gets the ConfigurationValidatorAttribute, which is used to validate this ConfigurationProperty object.

public ConfigurationProperty(string name, Type type)

Initializes a new instance of the ConfigurationProperty class.

public ConfigurationProperty(string name, Type type, object defaultValue)

Initializes a new instance of the ConfigurationProperty class.

public ConfigurationProperty(string name, Type type, object defaultValue, ConfigurationPropertyOptions options)

Initializes a new instance of the ConfigurationProperty class.

public ConfigurationProperty(string name, Type type, object defaultValue, TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options)

Initializes a new instance of the ConfigurationProperty class.

public ConfigurationProperty(string name, Type type, object defaultValue, TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options, string description)

Initializes a new instance of the ConfigurationProperty class.