System.ObjAuto.GetMethodInfo

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.ObjAuto.pas
System.ObjAuto.hpp
System.ObjAuto System.ObjAuto

Description

Renvoie l'en-tête d'informations d'une méthode spécifique.

GetMethodInfo renvoie l'en-tête d'informations d'une méthode spécifiée par son nom. La classe contenant la méthode est représentée par l'une de ses instances - le paramètre Instance.

Voir aussi

Exemples de code