TValueHelper.Convert Method

Overloads

Convert<T>

Converts the stored value to another type.

Convert<T>(TFormatSettings)

Converts the stored value to another type using the specified format settings.

Convert(PTypeInfo)

Converts the stored value to another type.

Convert(PTypeInfo, TFormatSettings)

Converts the stored value to another type using the specified format settings.

Convert<T>

Converts the stored value to another type.

Delphi
function Convert<T>: TValue

Type Parameters

T

Returns

TValue

Convert<T>(TFormatSettings)

Converts the stored value to another type using the specified format settings.

Delphi
function Convert<T>(const formatSettings: TFormatSettings): TValue

Type Parameters

T

Parameters

formatSettings
TFormatSettings

Returns

TValue

Convert(PTypeInfo)

Converts the stored value to another type.

Delphi
function Convert(targetType: PTypeInfo): TValue

Parameters

targetType
PTypeInfo

Returns

TValue

Convert(PTypeInfo, TFormatSettings)

Converts the stored value to another type using the specified format settings.

Delphi
function Convert(targetType: PTypeInfo; const formatSettings: TFormatSettings): TValue

Parameters

targetType
PTypeInfo
formatSettings
TFormatSettings

Returns

TValue