Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

Configuration Sections Schema

The configuration sections schema contains elements that put custom settings in configuration files.

<configuration>
   <configSections>
      <clear>
      <remove>
      <section>
      <sectionGroup>
         <section>
   <appSettings>
   <Custom element for configuration section>
   <Custom element for configuration section>
      <add>
      <remove>
      <clear>

Element Description
<add> element for NameValueSectionHandler and DictionarySectionHandler Adds custom application settings.
<appSettings> Contains custom application settings. This is a predefined configuration section provided by the .NET Framework.
<clear> element for <configSections> Clears all previously defined sections and section groups.
<clear> element for NameValueSectionHandler and DictionarySectionHandler Clears all previously defined settings in a section.
<configSections> Contains configuration section and namespace declarations.
Custom element for NameValueSectionHandler and DictionarySectionHandler Defines settings for custom configuration sections that use the NameValueSectionHandler or DictionarySectionHandler Class classes.
Custom element for SingleTagSectionHandler Defines settings for custom configuration sections that use the SingleTagSectionHandler Class class.
<remove> element for <configSections> Removes a predefined section or section group.
<remove> element for NameValueSectionHandler and DictionarySectionHandler Removes a previously defined setting.
<section> Contains a configuration section declaration.
<sectionGroup> Defines a namespace for configuration sections.

See Also

Configuration File Schema | Configuration Section Settings

Show:
© 2014 Microsoft. All rights reserved.