System.Rtti.TRttiManagedField.FieldOffset

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FieldOffset: Integer read GetFieldOffset;

C++

__property int FieldOffset = {read=GetFieldOffset, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiManagedField

Description

Specifies the offset of the field in the instance.

Use FieldOffset to obtain an integer value that specifies the offset of the field relative to the address at which an object or record instance is located. Using this value, you can read or write the memory directly to gain access to the value of the field in an instance.

See Also