System.Bindings.Outputs.TValueRefConverter.AddConversion

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddConversion(ConvPair: TConvertPair; AConverter: TConverterDescription); overload;
procedure AddConversion(ConvPairs: TArray<TConvertPair>; AConverter: TConverterDescription); overload;

C++

void __fastcall AddConversion(const TConvertPair &ConvPair, const TConverterDescription &AConverter)/* overload */;
void __fastcall AddConversion(System::DynamicArray<TConvertPair> ConvPairs, const TConverterDescription &AConverter)/* overload */;

Properties

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

Description

Adds a conversion routine to the current converter.

The AddConversion method adds a conversion routine to the current converter. There are two AddConversion overloaded methods.

Call the first AddConversion overloaded method with the following parameters:

Parameter Meaning
ConvPair Conversion pair associated with the current conversion routine.
AConverter The converter to which the conversion routine should be added.

Call the second AddConversion overloaded method with the following parameters:

Parameter Meaning
ConvPairs A dictionary of conversion pairs associated with the current conversion routine.
AConverter The converter to which the conversion routine should be added.

See Also