C# Class TESVSnip.Framework.IO.IniFile

Summary description for INIFileInterop.
Afficher le fichier Open project: figment/tesvsnip

Méthodes publiques

Méthode Description
GetInt ( String section, String key ) : int
GetInt ( String filename, String section, String key ) : int
GetPropertyValues ( String section ) : string>.Dictionary
GetPropertyValues ( String filename, String section ) : string>.Dictionary
GetSection ( String section ) : List
GetSection ( String filename, String section ) : List
GetSectionNames ( ) : List
GetSectionNames ( String filename ) : List
GetValue ( String section, String key ) : String
GetValue ( String filename, String section, String key ) : String
GetValue ( String filename, String section, String key, String sDefault ) : String
WriteSection ( string section, IEnumerable items ) : bool
WriteSection ( string filename, string section, IEnumerable items ) : bool
WriteValue ( String section, String key, String sValue ) : bool
WriteValue ( String filename, String section, String key, String sValue ) : bool

Private Methods

Méthode Description
GetPrivateProfileInt ( string lpAppName, string lpKeyName, int iDefault, string lpFileName ) : int
GetPrivateProfileSection ( string lpAppName, byte lpReturnedString, int nSize, string lpFileName ) : int
GetPrivateProfileSectionNames ( byte lpReturnedString, int nSize, string lpFileName ) : int
GetPrivateProfileString ( string lpAppName, string lpKeyName, string lpDefault, StringBuilder lpReturnedString, int nSize, string lpFileName ) : int
WritePrivateProfileSection ( string lpAppName, byte data, string lpFileName ) : bool
WritePrivateProfileString ( string lpAppName, string lpKeyName, string lpString, string lpFileName ) : bool

Method Details

GetInt() public static méthode

public static GetInt ( String section, String key ) : int
section String
key String
Résultat int

GetInt() public static méthode

public static GetInt ( String filename, String section, String key ) : int
filename String
section String
key String
Résultat int

GetPropertyValues() public static méthode

public static GetPropertyValues ( String section ) : string>.Dictionary
section String
Résultat string>.Dictionary

GetPropertyValues() public static méthode

public static GetPropertyValues ( String filename, String section ) : string>.Dictionary
filename String
section String
Résultat string>.Dictionary

GetSection() public static méthode

public static GetSection ( String section ) : List
section String
Résultat List

GetSection() public static méthode

public static GetSection ( String filename, String section ) : List
filename String
section String
Résultat List

GetSectionNames() public static méthode

public static GetSectionNames ( ) : List
Résultat List

GetSectionNames() public static méthode

public static GetSectionNames ( String filename ) : List
filename String
Résultat List

GetValue() public static méthode

public static GetValue ( String section, String key ) : String
section String
key String
Résultat String

GetValue() public static méthode

public static GetValue ( String filename, String section, String key ) : String
filename String
section String
key String
Résultat String

GetValue() public static méthode

public static GetValue ( String filename, String section, String key, String sDefault ) : String
filename String
section String
key String
sDefault String
Résultat String

WriteSection() public static méthode

public static WriteSection ( string section, IEnumerable items ) : bool
section string
items IEnumerable
Résultat bool

WriteSection() public static méthode

public static WriteSection ( string filename, string section, IEnumerable items ) : bool
filename string
section string
items IEnumerable
Résultat bool

WriteValue() public static méthode

public static WriteValue ( String section, String key, String sValue ) : bool
section String
key String
sValue String
Résultat bool

WriteValue() public static méthode

public static WriteValue ( String filename, String section, String key, String sValue ) : bool
filename String
section String
key String
sValue String
Résultat bool