C# Class TESVSnip.Framework.IO.IniFile

Summary description for INIFileInterop.
Show file Open project: figment/tesvsnip

Public Methods

Method 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

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

public static GetInt ( String section, String key ) : int
section String
key String
return int

GetInt() public static method

public static GetInt ( String filename, String section, String key ) : int
filename String
section String
key String
return int

GetPropertyValues() public static method

public static GetPropertyValues ( String section ) : string>.Dictionary
section String
return string>.Dictionary

GetPropertyValues() public static method

public static GetPropertyValues ( String filename, String section ) : string>.Dictionary
filename String
section String
return string>.Dictionary

GetSection() public static method

public static GetSection ( String section ) : List
section String
return List

GetSection() public static method

public static GetSection ( String filename, String section ) : List
filename String
section String
return List

GetSectionNames() public static method

public static GetSectionNames ( ) : List
return List

GetSectionNames() public static method

public static GetSectionNames ( String filename ) : List
filename String
return List

GetValue() public static method

public static GetValue ( String section, String key ) : String
section String
key String
return String

GetValue() public static method

public static GetValue ( String filename, String section, String key ) : String
filename String
section String
key String
return String

GetValue() public static method

public static GetValue ( String filename, String section, String key, String sDefault ) : String
filename String
section String
key String
sDefault String
return String

WriteSection() public static method

public static WriteSection ( string section, IEnumerable items ) : bool
section string
items IEnumerable
return bool

WriteSection() public static method

public static WriteSection ( string filename, string section, IEnumerable items ) : bool
filename string
section string
items IEnumerable
return bool

WriteValue() public static method

public static WriteValue ( String section, String key, String sValue ) : bool
section String
key String
sValue String
return bool

WriteValue() public static method

public static WriteValue ( String filename, String section, String key, String sValue ) : bool
filename String
section String
key String
sValue String
return bool