System.ObjAuto.GetMethodInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetMethodInfo(Instance: TObject; const MethodName: string): PMethodInfoHeader;
function GetMethodInfo(Instance: TObject; const MethodName: ShortString): PMethodInfoHeader;

C++

extern DELPHI_PACKAGE PMethodInfoHeader __fastcall GetMethodInfo(System::TObject* Instance, const System::UnicodeString MethodName)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.ObjAuto.pas
System.ObjAuto.hpp
System.ObjAuto System.ObjAuto

Description

Returns the information header of a specific method.

GetMethodInfo returns the information header of a method given by name. The class containing the method is represented by one of its instances-parameter Instance.

See Also

Code Examples