<PackageReference Include="System.Configuration.ConfigurationManager" Version="10.0.2" />

System.Configuration.ConfigurationElement

public abstract class ConfigurationElement
Represents a configuration element within a configuration file.
namespace System.Configuration { public abstract class ConfigurationElement { public ConfigurationLockCollection LockAttributes { get; } public ConfigurationLockCollection LockAllAttributesExcept { get; } public ConfigurationLockCollection LockElements { get; } public ConfigurationLockCollection LockAllElementsExcept { get; } public bool LockItem { get; set; } protected internal object this[ConfigurationProperty prop] { get; set; } protected internal object this[string propertyName] { get; set; } public ElementInformation ElementInformation { get; } protected ContextInformation EvaluationContext { get; } protected bool HasContext { get; } public Configuration CurrentConfiguration { get; } protected ConfigurationElement(); public virtual bool IsReadOnly(); protected virtual void ListErrors(IList errorList); protected void SetPropertyValue(ConfigurationProperty prop, object value, bool ignoreLocks); protected virtual object OnRequiredPropertyNotFound(string name); protected virtual void PostDeserialize(); protected virtual void PreSerialize(XmlWriter writer); protected virtual bool OnDeserializeUnrecognizedAttribute(string name, string value); protected virtual bool OnDeserializeUnrecognizedElement(string elementName, XmlReader reader); protected virtual string GetTransformedTypeString(string typeName); protected virtual string GetTransformedAssemblyString(string assemblyName); } }