TObject.MethodAddress
Return the address of a method
Declaration
Source position: objpash.inc line 229
public
class function MethodAddress(const name: shortstring) : CodePointer;
Description
MethodAddress returns the address of a method, searching the method by its name. The Name parameter specifies which method should be taken. The search is conducted in a case-insensitive manner.
Errors
If no matching method is found, Nil is returned.
See also
Name | Description |
---|---|
FieldAddress | Return the address of a field. |
MethodName | Return the name of a method. |