System.Bindings.Outputs.IValueRefConverter.Convert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Convert(const InValue: TValue; ATo: PTypeInfo; var OutValue: TValue);

C++

virtual void __fastcall Convert(const System::Rtti::TValue &InValue, System::Typinfo::PTypeInfo ATo, System::Rtti::TValue &OutValue) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Bindings.Outputs.pas
System.Bindings.Outputs.hpp
System.Bindings.Outputs IValueRefConverter

Description

Converts a supplied TValue, given a desired output type.

The Convert method converts a supplied TValue, given a desired output type.

Call Convert with the following parameters:

Parameter Meaning
InValue TValue to be converted.
ATo Desired output TValue type.
OutValue Converted TValue of type ATo.

See Also