TValueConverter.TryConvertTo(TValue,PTypeInfo,TValue,TValue) Method

Namespace: Spring.ValueConverters
private
 function TryConvertTo(const value: TValue;
 const targetTypeInfo: PTypeInfo;
 out targetValue: TValue;
 const parameter: TValue): Boolean; overload;

Parameters

value
Type: TValue

Rtti.TValue to convert

targetTypeInfo
Type: PTypeInfo

Target Rtti.PTypeInfo structure

targetValue
Type: TValue

Target Rtti.TValue out parameter

parameter
Type: TValue

Additional Rtti.TValue formatting parameter, use when possible

Return Value

Type: Boolean

Returns System.Boolean, True if converting with success

Implements

IValueConverter.TryConvertTo(TValue,PTypeInfo,TValue,TValue)