예제 #1
0
 public static bool 写配置项(string 配置文件名, string 节名称, string 配置项名称, string 欲写入值)
 {
     return(FileHandle.INIWriteValue(配置文件名, 节名称, 配置项名称, 欲写入值));
 }
예제 #2
0
 public static List <string> 取配置节点(string 配置文件名)
 {
     return(FileHandle.INIGetAllSectionNames(配置文件名).ToList());
 }
예제 #3
0
 public static string 读配置项(string 配置文件名, string 节名称, string 配置项名称, string 默认文本)
 {
     return(FileHandle.INIGetStringValue(配置文件名, 节名称, 配置项名称, 默认文本));
 }