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

getValue(string, string)

Get the string value for key parameter with an empty string as default value

Delphi
function getValue(key: string; default: string = ''): string

Parameters

key
string
default
string

Returns

string

getValue(string, Boolean)

Get the boolean value for key parameter with False as default value

Delphi
function getValue(key: string; default: boolean = False): boolean

Parameters

key
string
default
Boolean

Returns

Boolean

getValue(string, Cardinal)

Get the cardinal value for key parameter with zero as default value

Delphi
function getValue(key: string; default: cardinal = 0): cardinal

Parameters

key
string
default
Cardinal

Returns

Cardinal

getValue(string, Integer)

Get the integer value for key parameter with zero as default value

Delphi
function getValue(key: string; default: integer = 0): integer

Parameters

key
string
default
Integer

Returns

Integer

getValue(string, Single)

Get the single value for key parameter with zero as default value

Delphi
function getValue(key: string; default: single = 0): single

Parameters

key
string
default
Single

Returns

Single

getValue(string, TDateTime)

Get the TDateTime value for key parameter with December 30th 1899 at 12:00 as default value

Delphi
function getValue(key: string; default: TDateTime = 0): TDateTime

Parameters

key
string
default
TDateTime

Returns

TDateTime

getValue(string, TJSONValue)

Get the JSON value for key parameter with nil as default value

Delphi
function getValue(key: string; default: TJSONValue = 0): TJSONValue

Parameters

key
string
default
TJSONValue

Returns

TJSONValue