System.Rtti.TRttiType.GetDeclaredMethods

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDeclaredMethods: TArray<TRttiMethod>; virtual;

C++

virtual System::DynamicArray<TRttiMethod*> __fastcall GetDeclaredMethods();

Properties

Type Visibility Source Unit Parent
function public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiType

Description

Returns a list of all the methods declared in the reflected type.

Use the GetDeclaredMethods method to obtain a list of all the methods that are declared in the reflected type. To obtain the list of all the methods in the reflected type (including the inherited ones), use the GetMethods method instead.

Note: GetDeclaredMethods is only supported for class and interface types.

See Also