C# Class NFe.Components.XMLIniFile

Afficher le fichier Open project: akretion/uninfe Class Usage Examples

Méthodes publiques

Méthode Description
AddValue ( XmlNode node, string Path, string Section, string value ) : void
CenterForm ( Form xform ) : void
DeleteValue ( string Path, string ValueSection ) : void
FullPathNode ( XmlNode node ) : string
GetPathNode ( string NodePath, bool CanCreate ) : XmlNode
LoadForm ( Form xform, string aSection, bool forcaleitura ) : bool
ReadValue ( string Path, string ValueSection, System.DateTime Default ) : System.DateTime
ReadValue ( string Path, string ValueSection, Int32 Default ) : Int32
ReadValue ( string Path, string ValueSection, System.Single Default ) : System.Single
ReadValue ( string Path, string ValueSection, bool Default ) : bool
ReadValue ( string Path, string ValueSection, double Default ) : double
ReadValue ( string Path, string ValueSection, string Default ) : string
Save ( ) : void
SaveAs ( string filename ) : void
SaveForm ( Form xform, string aSection ) : void
ValueExists ( string Path, string ValueSection ) : bool
WriteValue ( string Path, string ValueSection, double Value ) : void
WriteValue ( string Path, string ValueSection, string Value ) : void
XMLIniFile ( ) : System
XMLIniFile ( string filename ) : System
XMLIniFile ( string aaDocElementname, int aaVersion, Store aaStore ) : System
XMLIniFile ( string aaDocElementname, int aaVersion, Store aaStore, string filename ) : System

Méthodes protégées

Méthode Description
CheckInitialized ( ) : void
ConvertToOEM ( string FBuffer ) : string
ParseString ( string s ) : ArrayList
ReadThisValue ( string Path, string ValueSection ) : string
ReadThisValue ( string Path, string ValueSection, string Default ) : string
WriteThisValue ( string Path, string ValueSection, string Value ) : void
_FindNode ( XmlNode _RootNode, string _Nodename ) : XmlNode

Private Methods

Méthode Description
Translate ( string Value ) : string

Method Details

AddValue() public méthode

public AddValue ( XmlNode node, string Path, string Section, string value ) : void
node System.Xml.XmlNode
Path string
Section string
value string
Résultat void

CenterForm() public méthode

public CenterForm ( Form xform ) : void
xform System.Windows.Forms.Form
Résultat void

CheckInitialized() protected méthode

protected CheckInitialized ( ) : void
Résultat void

ConvertToOEM() protected méthode

protected ConvertToOEM ( string FBuffer ) : string
FBuffer string
Résultat string

DeleteValue() public méthode

public DeleteValue ( string Path, string ValueSection ) : void
Path string
ValueSection string
Résultat void

FullPathNode() public méthode

public FullPathNode ( XmlNode node ) : string
node System.Xml.XmlNode
Résultat string

GetPathNode() public méthode

public GetPathNode ( string NodePath, bool CanCreate ) : XmlNode
NodePath string
CanCreate bool
Résultat System.Xml.XmlNode

LoadForm() public méthode

public LoadForm ( Form xform, string aSection, bool forcaleitura ) : bool
xform System.Windows.Forms.Form
aSection string
forcaleitura bool
Résultat bool

ParseString() protected méthode

protected ParseString ( string s ) : ArrayList
s string
Résultat System.Collections.ArrayList

ReadThisValue() protected méthode

protected ReadThisValue ( string Path, string ValueSection ) : string
Path string
ValueSection string
Résultat string

ReadThisValue() protected méthode

protected ReadThisValue ( string Path, string ValueSection, string Default ) : string
Path string
ValueSection string
Default string
Résultat string

ReadValue() public méthode

public ReadValue ( string Path, string ValueSection, System.DateTime Default ) : System.DateTime
Path string
ValueSection string
Default System.DateTime
Résultat System.DateTime

ReadValue() public méthode

public ReadValue ( string Path, string ValueSection, Int32 Default ) : Int32
Path string
ValueSection string
Default System.Int32
Résultat System.Int32

ReadValue() public méthode

public ReadValue ( string Path, string ValueSection, System.Single Default ) : System.Single
Path string
ValueSection string
Default System.Single
Résultat System.Single

ReadValue() public méthode

public ReadValue ( string Path, string ValueSection, bool Default ) : bool
Path string
ValueSection string
Default bool
Résultat bool

ReadValue() public méthode

public ReadValue ( string Path, string ValueSection, double Default ) : double
Path string
ValueSection string
Default double
Résultat double

ReadValue() public méthode

public ReadValue ( string Path, string ValueSection, string Default ) : string
Path string
ValueSection string
Default string
Résultat string

Save() public méthode

public Save ( ) : void
Résultat void

SaveAs() public méthode

public SaveAs ( string filename ) : void
filename string
Résultat void

SaveForm() public méthode

public SaveForm ( Form xform, string aSection ) : void
xform System.Windows.Forms.Form
aSection string
Résultat void

ValueExists() public méthode

public ValueExists ( string Path, string ValueSection ) : bool
Path string
ValueSection string
Résultat bool

WriteThisValue() protected méthode

protected WriteThisValue ( string Path, string ValueSection, string Value ) : void
Path string
ValueSection string
Value string
Résultat void

WriteValue() public méthode

public WriteValue ( string Path, string ValueSection, double Value ) : void
Path string
ValueSection string
Value double
Résultat void

WriteValue() public méthode

public WriteValue ( string Path, string ValueSection, string Value ) : void
Path string
ValueSection string
Value string
Résultat void

XMLIniFile() public méthode

public XMLIniFile ( ) : System
Résultat System

XMLIniFile() public méthode

public XMLIniFile ( string filename ) : System
filename string
Résultat System

XMLIniFile() public méthode

public XMLIniFile ( string aaDocElementname, int aaVersion, Store aaStore ) : System
aaDocElementname string
aaVersion int
aaStore Store
Résultat System

XMLIniFile() public méthode

public XMLIniFile ( string aaDocElementname, int aaVersion, Store aaStore, string filename ) : System
aaDocElementname string
aaVersion int
aaStore Store
filename string
Résultat System

_FindNode() protected méthode

protected _FindNode ( XmlNode _RootNode, string _Nodename ) : XmlNode
_RootNode System.Xml.XmlNode
_Nodename string
Résultat System.Xml.XmlNode