TParamsFile.getValue Method
Overloads
| getValue(string, string) |
Get the string value for key parameter with an empty string as default value |
| getValue(string, Boolean) |
Get the boolean value for key parameter with False as default value |
| getValue(string, Cardinal) |
Get the cardinal value for key parameter with zero as default value |
| getValue(string, Integer) |
Get the integer value for key parameter with zero as default value |
| getValue(string, Single) |
Get the single value for key parameter with zero as default value |
| getValue(string, TDateTime) |
Get the TDateTime value for key parameter with December 30th 1899 at 12:00 as default value |
| getValue(string, TJSONValue) |
Get the JSON value for key parameter with nil as default value |
Get the string value for key parameter with an empty string as default value
function getValue(key: string; default: string = ''): string
Parameters
- key
- string
- default
- string
Returns
Get the boolean value for key parameter with False as default value
function getValue(key: string; default: boolean = False): boolean
Parameters
- key
- string
- default
- Boolean
Returns
Get the cardinal value for key parameter with zero as default value
function getValue(key: string; default: cardinal = 0): cardinal
Parameters
- key
- string
- default
- Cardinal
Returns
Get the integer value for key parameter with zero as default value
function getValue(key: string; default: integer = 0): integer
Parameters
- key
- string
- default
- Integer
Returns
Get the single value for key parameter with zero as default value
function getValue(key: string; default: single = 0): single
Parameters
- key
- string
- default
- Single
Returns
Get the TDateTime value for key parameter with December 30th 1899 at 12:00 as default value
function getValue(key: string; default: TDateTime = 0): TDateTime
Parameters
- key
- string
- default
- TDateTime