点击或拖拽改变大小

IniFile 方法

Sweet 开发框架

IniFile 类型公开以下成员。

方法
  名称说明
公共方法DeleteKey
删除某个Section下的键
(继承自 IniBase。)
公共方法Dispose
析构函数
(继承自 IniBase。)
公共方法Equals (继承自 Object。)
公共方法EraseSection
清除某个Section
(继承自 IniBase。)
受保护的方法Finalize
确保资源的释放
(继承自 IniBase。)
公共方法GetHashCode (继承自 Object。)
公共方法GetKeys
获取指定的Section名称中的所有Key
(继承自 IniBase。)
公共方法GetSectionValues
读取指定的Section的所有Value到列表中
(继承自 IniBase。)
公共方法GetType (继承自 Object。)
公共方法KeyExists
检查某个Section下的某个键值是否存在
(继承自 IniBase。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法Read
读取字符串
(继承自 IniBase。)
公共方法ReadBool
读布尔
公共方法ReadByte
读Byte
公共方法ReadBytes
读Byte数组
公共方法ReadChar
读Char
公共方法ReadColor
读Color
公共方法ReadDateTime
读DateTime
公共方法ReadDecimal
读Decimal
公共方法ReadDouble
读Double
公共方法ReadFloat
读Float
公共方法ReadInt
读整数
公共方法ReadLong
读整数
公共方法ReadPoint
读Point
公共方法ReadPointF
读PointF
公共方法ReadSByte
读Byte
公共方法ReadShort
读整数
公共方法ReadSize
读Size
公共方法ReadSizeF
读SizeF
公共方法ReadStructT
读结构
公共方法ReadUInt
读整数
公共方法ReadULong
读整数
公共方法ReadUShort
读整数
公共方法ToString (继承自 Object。)
公共方法UpdateFile
Note:对于Win9X,来说需要实现UpdateFile方法将缓冲中的数据写入文件 在Win NT, 2000和XP上,都是直接写文件,没有缓冲,所以,无须实现UpdateFile 执行完对Ini文件的修改之后,应该调用本方法更新缓冲区。
(继承自 IniBase。)
公共方法Write(String, String, String)
写字符串
(继承自 IniBase。)
公共方法Write(String, String, Boolean)
写布尔
公共方法Write(String, String, Byte)
写Byte
公共方法Write(String, String, Byte)
写Byte数组
公共方法Write(String, String, Char)
写Char
公共方法Write(String, String, DateTime)
写DateTime
公共方法Write(String, String, Decimal)
写Decimal
公共方法Write(String, String, Double)
写Double
公共方法Write(String, String, Color)
写Color
公共方法Write(String, String, Point)
写Point
公共方法Write(String, String, PointF)
写PointF
公共方法Write(String, String, Size)
写Size
公共方法Write(String, String, SizeF)
写SizeF
公共方法Write(String, String, Int16)
写整数
公共方法Write(String, String, Int32)
写整数
公共方法Write(String, String, Int64)
写整数
公共方法Write(String, String, SByte)
写SByte
公共方法Write(String, String, Single)
写Float
公共方法Write(String, String, UInt16)
写整数
公共方法Write(String, String, UInt32)
写整数
公共方法Write(String, String, UInt64)
写整数
公共方法WriteStructT
写结构
Top
扩展方法
  名称说明
公共扩展器方法ConsoleWriteLine (由 SystemEx 定义。)
公共扩展器方法WriteConsole (由 UConsole 定义。)
Top
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架