TCustomIniFile.ReadString¶
Read a string valued key.
Declaration¶
Source position: inifiles.pp line 183
public
function TCustomIniFile.ReadString(const Section: string;
const Ident: string;
const Default: string) : string
; virtual; abstract;
Description¶
ReadString reads the key Ident in section Section, and returns the value as a string. If the specified key or section do not exist, then the value in Default is returned. Note that if the key exists, but is empty, an empty string will be returned.
See also¶
| Name | Description |
|---|---|
| WriteString | Write a string value. |
| ReadInteger | Read an integer value from the file. |
| ReadBool | |
| ReadDate | Read a date value. |
| ReadDateTime | Read a Date/Time value. |
| ReadTime | Read a time value. |
| ReadFloat | Read a floating point value. |
| ReadBinaryStream | Read binary data. |