System.Rtti.TRttiMethod.VirtualIndex
Delphi
property VirtualIndex: SmallInt read GetVirtualIndex;
C++
__property short VirtualIndex = {read=GetVirtualIndex, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TRttiMethod |
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. |