Nini Library API Reference -

XmlConfigSource Class

Class for configuring an XML source.

For a list of all members of this type, see XmlConfigSource Members.


public class XmlConfigSource : ConfigSourceBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Provides users with the ability to load more than one XML configuration file. Unlike DotNetConfigSource which forces users to use on file and have the name the same as the application.


The following is an example of an XML document for this type:

    <Section Name="MySection">
        <Key Name="SomeName" Value="Some Value" />
        <Key Name="SomeInteger" Value="5652" />

    <Section Name="AnotherSection">
        <Key Name="Another Name" Value="Another Value" />


Namespace: Nini.Config

Assembly: Nini (in Nini.dll)

See Also

XmlConfigSource Members | Nini.Config Namespace