public EnumSection ( string section ) : string[] | ||
section | string | |
Résultat | string[] |
public bool AddFromIni(string inipath) { if (File.Exists(inipath)) { IniParser ini = new IniParser(inipath); foreach (string section in ini.Sections) { foreach (string setting in ini.EnumSection(section)) { this.Add(section, setting, ini.GetSetting(section, setting)); } } return true; } return false; }
public bool AddFromIni(string inipath) { if (File.Exists(inipath)) { IniParser ini = new IniParser(inipath); foreach (string section in ini.Sections.Keys) { foreach (string setting in ini.EnumSection(section)) { this.Add(section, setting, ini.GetSetting(section, setting)); } } return(true); } return(false); }