Nini Library API Reference - http://nini.sourceforge.net/ |

# ArgvConfigSource Class

Configuration class for loading command line arguments.

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

System.Object
Nini.Config.ConfigSourceBase
Nini.Config.ArgvConfigSource

public class ArgvConfigSource : 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.

#### Remarks

Provides a method to parse command line parameters and collect them into a ConfigCollection. The arguments allowed are the Windows style ("/key:value", "-key") or Unix style ("--key=value" and "-key value").

#### Example

This is an example that sends in Windows arguments:

    MyApp.exe -debug /file:log.txt

This is an example that sends in Unix arguments:

    MyApp.exe -D --file log.txt --debug=yes

#### Requirements

Namespace: Nini.Config

Assembly: Nini (in Nini.dll)

#### See Also

ArgvConfigSource Members | Nini.Config Namespace