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

# IniDocument Constructor

Initializes a new instance of the class with the supplied file.

#### Overload List

Initializes an empty INI class instance.

> public IniDocument();

Initializes a new instance of the class using an IniReader.

> public IniDocument(IniReader);

Initializes a new instance of the class using a Stream.

> public IniDocument(Stream);

Initializes a new instance of the class using a Stream and the INI type.

> public IniDocument(Stream,IniFileType);

Initializes a new instance of the class using a TextReader.

> public IniDocument(TextReader);

Initializes a new instance of the class using a TextReader and the INI type.

> public IniDocument(TextReader,IniFileType);

Initializes a new instance of the class with the supplied file.

> public IniDocument(string);

Initializes a new instance of the class with the supplied file and the INI type.

> public IniDocument(string,IniFileType);

#### See Also

IniDocument Class | Nini.Ini Namespace