Get variant valued property.
Source position: variants.pp line 354
function GetVariantProp( |
Instance: TObject; |
PropInfo: PPropInfo |
):Variant; |
Instance: TObject; |
const PropName: AnsiString |
):Variant; |
Instance |
|
Instance from which to get property. |
PropInfo |
|
Pointer to property description (RTTI). |
Property value.
Instance |
|
Instance from which to get property. |
PropName |
|
Property name. |
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.
|
Access Run-Time Type Information (RTTI). |
|
|
Callback to get a variant property value. |
|
|
Set variant valued property. |
|
|
Return a property value as a variant. |