C# Class NFe.Components.IniFile

显示文件 Open project: akretion/uninfe

Public Methods

Method 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

Method 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 method

public DeleteKey ( string Key, string Section = null ) : void
Key string
Section string
return void

DeleteSection() public method

public DeleteSection ( string Section = null ) : void
Section string
return void

IniFile() public method

public IniFile ( string IniPath = null ) : System
IniPath string
return System

KeyExists() public method

public KeyExists ( string Key, string Section = null ) : bool
Key string
Section string
return bool

Read() public method

public Read ( string Key, string Section = null ) : string
Key string
Section string
return string

Write() public method

public Write ( string Key, string Value, string Section = null ) : void
Key string
Value string
Section string
return void