C# Класс Global.IniFile

Create a New INI file to store or load data
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
path string

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetPrivateProfileString ( string section, string key, string def, byte retVal, Int32 size, string filePath ) : UInt32
WritePrivateProfileString ( string section, string key, string val, string filePath ) : bool

Описание методов

IniFile() публичный Метод

INIFile Constructor.
public IniFile ( string INIPath ) : System
INIPath string
Результат System

IniWriteValue() публичный Метод

Write Data to the INI File
public IniWriteValue ( string Section, string Key, string Value ) : void
Section string
Key string
Value string
Результат void

ReadBool() публичный Метод

public ReadBool ( string Section, string Ident, bool Default ) : bool
Section string
Ident string
Default bool
Результат bool

ReadInteger() публичный Метод

public ReadInteger ( string Section, string Ident, UInt32 Default ) : UInt32
Section string
Ident string
Default System.UInt32
Результат System.UInt32

ReadInteger64() публичный Метод

public ReadInteger64 ( string Section, string Ident, UInt32 Default ) : System.UInt64
Section string
Ident string
Default System.UInt32
Результат System.UInt64

ReadString() публичный Метод

public ReadString ( string Section, string Ident, string Default ) : string
Section string
Ident string
Default string
Результат string

WriteInteger() публичный Метод

public WriteInteger ( string Section, string Ident, int Value ) : void
Section string
Ident string
Value int
Результат void

WriteString() публичный Метод

Read Data Value From the Ini File
public WriteString ( string Section, string Ident, string Value ) : void
Section string
Ident string
Value string
Результат void

Описание свойств

path публичное свойство

public string path
Результат string