Nesting Levels in Custom Section Handlers in .NET Configuration Files

Posted by Water Cooler v2 on Stack Overflow See other posts from Stack Overflow or by Water Cooler v2
Published on 2010-04-04T22:39:50Z Indexed on 2010/04/04 22:43 UTC
Read the original article Hit count: 523

I know I can have 1 parent element and 1 child element in my own custom app.config section like so:

<sectionGroup>
<section>
    <element />
</section>
</sectionGroup>

My question is, can I have one or more levels of nesting more than this? Like so:

<biggestSectionGroup>
<biggerSectionGroup>
<sectionGroup>
    <section>
        <element />
    </section>
</sectionGroup>
</biggerSectionGroup>
</biggestSectionGroup>

© Stack Overflow or respective owner

Related posts about app-config

Related posts about configuration-files