System.Rtti.TRttiField.GetValue
Delphi
function GetValue(Instance: Pointer): TValue;
C++
TValue __fastcall GetValue(void * Instance);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TRttiField |
Description
Returns the field's value in a given instance.
Call GetValue to obtain a TValue structure containing the value of the field in a given instance.
The AInstance parameter can either point to a class instance or to a record instance.
See Also