System.Rtti.TRttiMethod.VirtualIndex

From RAD Studio API Documentation
Jump to: navigation, search

API:System.Rtti.TRttiMethod.VirtualIndex

Description

Specifies the virtual index of the method.

Use VirtualIndex to obtain an integer value containing the virtual index of the method. VirtualIndex has different meanings for different kinds of methods, listed in the following table:

Value of DispatchKind Meaning of VirtualIndex

dkVtable

Represents the method's offset in the VMT of the class.

dkDynamic

Represents the method's index in the DMT of the class. The value is negative.

dkMessage

Represents the message ID for which the method is invoked.



See Also