System.Rtti.TRttiField.Offset

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Offset: Integer read FOffset;

C++

__property int Offset = {read=FOffset, nodefault};

Properties

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

Description

Specifies the offset of the field in the instance.

Use Offset 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