System.Rtti.TRttiMethod.MethodKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MethodKind: TMethodKind read GetMethodKind;

C++

__property System::Typinfo::TMethodKind MethodKind = {read=GetMethodKind, nodefault};

Properties

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

Description

Specifies the method kind.

Use MethodKind to obtain the type of the method (also known as kind). The possible values returned by the MethodKind property are listed in the following table.



Value Meaning

mkProcedure

Stand-alone procedure

mkFunction

Stand-alone function

mkDestructor

Destructor

mkConstructor

Constructor

mkClassProcedure

Class procedure

mkClassFunction

Class function

mkClassConstructor

Class constructor

mkOperatorOverload

Operator overload

mkSafeProcedure

Safe procedure

mkSafeFunction

Safe function



See Also