Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Using Custom Sections in an App.Config File - .Net Framework

RSS
Modified on Thu, Nov 06, 2008, 1:54 PM by Administrator Categorized as ┬ĚNet Framework
The following excerpt from an app.config file demonstrates how to add a custom section to a configuration file. A custom section may have whatever schema is desired by the developer.

<configuration>
  <configSections>
    <section 
        name="myCustomSection" 
        type="System.Configuration.IgnoreSectionHandler" />
  </configSections>
  <myCustomSection>
      ...
  </myCustomSection>
</configuration>

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2018, Patrick Jasinski.