SetVariantProp procedure
Set variant valued property.
Declaration
procedure SetVariantProp(Instance: TObject; const PropName: AnsiString;
const Value: Variant)Arguments
Instance | Instance on which to set the variant property. |
PropName | Name of the property to set. |
Value | Value to set property to. |
Description
SetVariantProp sets the value of the variant-types
property described by
PropInfo or
PropName
from the
Instance to
Value.
This function is used as the value for the TypInfo unit's OnSetVariantProp callback. This callback is automatically initialized with the function when the variants unit is used.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
