System.Rtti.TRttiField.GetValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetValue(Instance: Pointer): TValue; virtual;

C++

virtual 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


Code Examples