Returns the name of a class method by address.
class function MethodName(Address: Pointer): string;
string MethodName(Pointer Address);
There are situations where it is useful to be able to invoke an object method without the need to hard code the method name in advance. Call System::TObject::MethodAddress to dynamically retrieve the address of such a method by specifying the method name as a string.
System::TObject::MethodName is the converse to this process - by supplying a method Address, the name of the method is returned as a string.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!