C# Class Global.IniFile

Create a New INI file to store or load data
Afficher le fichier Open project: mti-rfid/RFID_Explorer

Méthodes publiques

Свойство Type Description
path string

Méthodes publiques

Méthode Description
IniFile ( string INIPath ) : System

INIFile Constructor.

IniWriteValue ( string Section, string Key, string Value ) : void

Write Data to the INI File

ReadBool ( string Section, string Ident, bool Default ) : bool
ReadInteger ( string Section, string Ident, UInt32 Default ) : UInt32
ReadInteger64 ( string Section, string Ident, UInt32 Default ) : System.UInt64
ReadString ( string Section, string Ident, string Default ) : string
WriteInteger ( string Section, string Ident, int Value ) : void
WriteString ( string Section, string Ident, string Value ) : void

Read Data Value From the Ini File

Private Methods

Méthode Description
GetPrivateProfileString ( string section, string key, string def, byte retVal, Int32 size, string filePath ) : UInt32
WritePrivateProfileString ( string section, string key, string val, string filePath ) : bool

Method Details

IniFile() public méthode

INIFile Constructor.
public IniFile ( string INIPath ) : System
INIPath string
Résultat System

IniWriteValue() public méthode

Write Data to the INI File
public IniWriteValue ( string Section, string Key, string Value ) : void
Section string
Key string
Value string
Résultat void

ReadBool() public méthode

public ReadBool ( string Section, string Ident, bool Default ) : bool
Section string
Ident string
Default bool
Résultat bool

ReadInteger() public méthode

public ReadInteger ( string Section, string Ident, UInt32 Default ) : UInt32
Section string
Ident string
Default System.UInt32
Résultat System.UInt32

ReadInteger64() public méthode

public ReadInteger64 ( string Section, string Ident, UInt32 Default ) : System.UInt64
Section string
Ident string
Default System.UInt32
Résultat System.UInt64

ReadString() public méthode

public ReadString ( string Section, string Ident, string Default ) : string
Section string
Ident string
Default string
Résultat string

WriteInteger() public méthode

public WriteInteger ( string Section, string Ident, int Value ) : void
Section string
Ident string
Value int
Résultat void

WriteString() public méthode

Read Data Value From the Ini File
public WriteString ( string Section, string Ident, string Value ) : void
Section string
Ident string
Value string
Résultat void

Property Details

path public_oe property

public string path
Résultat string