System.Win.ObjComAuto.TObjectDispatch.GetMethodInfo
Delphi
function GetMethodInfo(const AName: ShortString; var AInstance: TObject): PMethodInfoHeader; virtual;
C++
virtual System::Objauto::PMethodInfoHeader __fastcall GetMethodInfo(const System::ShortString &AName, System::TObject* &AInstance);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | System.Win.ObjComAuto.pas System.Win.ObjComAuto.hpp |
System.Win.ObjComAuto | TObjectDispatch |
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 donnée par nom. La classe contenant la méthode est représentée par l'une de ses instances — le paramètre AInstance
.