PeterO.IniFile

## PeterO.IniFile

public sealed class IniFile :
    System.Collections.Generic.IEnumerable,
    System.Collections.IEnumerable

Not documented yet.

Member Summary

### IniFile Constructor

public IniFile(
    string path);

Initializes a new instance of the PeterO.IniFile class.

Parameters:

### IniFile Constructor

public IniFile(
    string path,
    PeterO.IniMergeBehavior behavior);

Initializes a new instance of the PeterO.IniFile class.

Parameters:

Exceptions:

### IniFile Constructor

public IniFile();

Initializes a new instance of the PeterO.IniFile class.

### Count

public int Count { get; }

Gets a value not documented yet.

Returns:

A value not documented yet.

### AddSection

public PeterO.IniSection AddSection(
    string sectionName);

Not documented yet.

Parameters:

Return Value:

An IniSection object.

### AddSection

public PeterO.IniSection AddSection(
    string sectionName,
    PeterO.IniMergeBehavior behavior);

Not documented yet.

Parameters:

Return Value:

An IniSection object.

### GetSection

public PeterO.IniSection GetSection(
    string sectionName);

Not documented yet.

Parameters:

Return Value:

An IniSection object.

### GetValue

public string GetValue(
    string sectionName,
    string keyName);

Not documented yet.

Parameters:

Return Value:

A text string.

Exceptions:

### RemoveSection

public void RemoveSection(
    string sectionName);

Not documented yet.

Parameters:

### Save

public void Save(
    string path);

Not documented yet.

Parameters:

Exceptions:

### SetValue

public void SetValue(
    string sectionName,
    string keyName,
    string value);

Not documented yet.

Parameters:

Exceptions:

### ToString

public override string ToString();

Converts this object to a text string.

Return Value:

A text string.

### WriteToStream

public void WriteToStream(
    System.IO.StreamWriter writer);

Not documented yet.

Parameters:

Exceptions:

Back to petero-csharp start page.