![]() | IniBase 类 |
命名空间: Sweet.Common
IniBase 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | DeleteKey |
删除某个Section下的键
|
![]() | Dispose |
析构函数
|
![]() | Equals | (继承自 Object。) |
![]() | EraseSection |
清除某个Section
|
![]() | Finalize |
确保资源的释放
(重写 ObjectFinalize.) |
![]() | GetHashCode | (继承自 Object。) |
![]() | GetKeys |
获取指定的Section名称中的所有Key
|
![]() | GetSectionValues |
读取指定的Section的所有Value到列表中
|
![]() | GetType | (继承自 Object。) |
![]() | KeyExists |
检查某个Section下的某个键值是否存在
|
![]() | MemberwiseClone | (继承自 Object。) |
![]() | Read |
读取字符串
|
![]() | ToString | (继承自 Object。) |
![]() | UpdateFile |
Note:对于Win9X,来说需要实现UpdateFile方法将缓冲中的数据写入文件
在Win NT, 2000和XP上,都是直接写文件,没有缓冲,所以,无须实现UpdateFile
执行完对Ini文件的修改之后,应该调用本方法更新缓冲区。
|
![]() | Write |
写字符串
|
名称 | 说明 | |
---|---|---|
![]() ![]() | IniEncoding |
Ini文件编码格式
|
名称 | 说明 | |
---|---|---|
![]() | ConsoleWriteLine | (由 SystemEx 定义。) |
![]() | WriteConsole | (由 UConsole 定义。) |