TCustomVariantType.CastTo

Cast a custom variant to another type

Declaration

Source position: variants.pp line 201

public 
  procedure CastTo(var Dest: tvardata; const Source: tvardata; 
                  const aVarType: tvartype);  Virtual;

Description

CastTo is called when a custom variant value Source is cast to a variant type aVarType and stores the result in Dest. Descendents must override this method to provide the desired conversion behaviour.

See also

Name Description
TCustomVariantType.Cast Cast a custom variant to another type
TCustomVariantType.CastToOle Cast variant value to OLE value

results matching ""

    No results matching ""