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

Namespace: Spring.ValueConverters
public
 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