System.Rtti.TRttiMethod.DispatchKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DispatchKind: TDispatchKind read GetDispatchKind;

C++

__property TDispatchKind DispatchKind = {read=GetDispatchKind, nodefault};

Properties

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

Description

Specifies the method's dispatch kind.

Use DispatchKind to obtain the methodology used when performing a call to the method. The possible values returned by the DispatchKind property are listed in the following table.



Value Meaning

dkStatic

Identifies a static method with direct call address.

dkVtable

Identifies a class or a class instance method that is called indirectly, through a VMT slot.

dkDynamic

Identifies a class instance method that is called indirectly, through a DMT slot.

dkMessage

Identifies a class instance method that is called indirectly, using a message ID.

dkInterface

Identifies an interface method that is called using interface dispatch tables.



See Also