C# Class Ini.IniFile

Create a New INI file to store or load data
Datei anzeigen Open project: HarkerGameDev/TheGame Class Usage Examples

Public Properties

Property Type Description
path string

Public Methods

Method Description
IniFile ( string INIPath ) : System

INIFile Constructor.

ReadValue ( string Section, string Key ) : string

Read Data Value From the Ini File

WriteValue ( string Section, string Key, object Value ) : void

Write Data to the INI File

Private Methods

Method Description
GetPrivateProfileString ( string section, string key, string def, StringBuilder retVal, int size, string filePath ) : int
WritePrivateProfileString ( string section, string key, string val, string filePath ) : long

Method Details

IniFile() public method

INIFile Constructor.
public IniFile ( string INIPath ) : System
INIPath string
return System

ReadValue() public method

Read Data Value From the Ini File
public ReadValue ( string Section, string Key ) : string
Section string
Key string
return string

WriteValue() public method

Write Data to the INI File
public WriteValue ( string Section, string Key, object Value ) : void
Section string
Key string
Value object
return void

Property Details

path public_oe property

public string path
return string