IValueConverter.ConvertTo(TValue,PTypeInfo,TValue) Method
Namespace: Spring.ValueConverters
public function ConvertTo(const value: TValue; const targetTypeInfo: PTypeInfo; const parameter: TValue): TValue; overload;
Parameters
- value
- Type: TValue
Rtti.TValue to convert
- targetTypeInfo
- Type: PTypeInfo
Target Rtti.PTypeInfo structure
- parameter
- Type: TValue
Additional Rtti.TValue formatting parameter, use when possible
Return Value
Type: TValue
Returns value converted to type pointing by targetTypeInfo parameter