GetVariantProp function
Get variant valued property.
Declaration
function GetVariantProp(Instance: TObject; PropInfo: PPropInfo)
: VariantArguments
Instance | Instance from which to get property. |
PropInfo | Pointer to property description (RTTI). |
Function result
Property value.
Description
GetVariantProp returns the value of the variant-types
property described by
PropInfo or
PropName
from the
Instance.
This function is used as the value for the TypInfo unit's OnGetVariantProp 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.
