[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Set a property value as a variant
Source position: variants.pp line 346
procedure SetPropValue( |
Instance: TObject; |
PropInfo: PPropInfo; |
const Value: Variant |
); overload; |
Instance |
|
Instance to set property value of |
PropInfo |
|
Pointer to propert information (RTTI) |
Value |
|
Value to set property to |
SetPropValue sets the value of the property described by PropInfo from the Instance. The property value is set from the variant-typed value Value.
This function is used as the value for the TypInfo unit's OnSetPropValue callback. This callback is automatically initialized with the function when the variants unit is used.
|
Access Run-Time Type Information (RTTI) |
|
|
Callback to set a property value as a variant. |
|
|
Return a property value as a variant |