C# Class NFe.Components.IniFile

Afficher le fichier Open project: akretion/uninfe

Méthodes publiques

Méthode Description
DeleteKey ( string Key, string Section = null ) : void
DeleteSection ( string Section = null ) : void
IniFile ( string IniPath = null ) : System
KeyExists ( string Key, string Section = null ) : bool
Read ( string Key, string Section = null ) : string
Write ( string Key, string Value, string Section = null ) : void

Private Methods

Méthode Description
GetPrivateProfileString ( string Section, string Key, string Default, StringBuilder RetVal, int Size, string FilePath ) : int
WritePrivateProfileString ( string Section, string Key, string Value, string FilePath ) : long

Method Details

DeleteKey() public méthode

public DeleteKey ( string Key, string Section = null ) : void
Key string
Section string
Résultat void

DeleteSection() public méthode

public DeleteSection ( string Section = null ) : void
Section string
Résultat void

IniFile() public méthode

public IniFile ( string IniPath = null ) : System
IniPath string
Résultat System

KeyExists() public méthode

public KeyExists ( string Key, string Section = null ) : bool
Key string
Section string
Résultat bool

Read() public méthode

public Read ( string Key, string Section = null ) : string
Key string
Section string
Résultat string

Write() public méthode

public Write ( string Key, string Value, string Section = null ) : void
Key string
Value string
Section string
Résultat void