<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0-preview1.19504.10" />

ElementInformation

public sealed class ElementInformation
Contains meta-information about an individual element within the configuration. This class cannot be inherited.
public ICollection Errors { get; }

Gets the errors for the associated element and subelements

public bool IsCollection { get; }

Gets a value indicating whether the associated ConfigurationElement object is a ConfigurationElementCollection collection.

public bool IsLocked { get; }

Gets a value that indicates whether the associated ConfigurationElement object cannot be modified.

public bool IsPresent { get; }

Gets a value indicating whether the associated ConfigurationElement object is in the configuration file.

public int LineNumber { get; }

Gets the line number in the configuration file where the associated ConfigurationElement object is defined.

Gets a PropertyInformationCollection collection of the properties in the associated ConfigurationElement object.

public string Source { get; }

Gets the source file where the associated ConfigurationElement object originated.

public Type Type { get; }

Gets the type of the associated ConfigurationElement object.

Gets the object used to validate the associated ConfigurationElement object.