Skip to content

TObject.MethodName

Return the name of a method.

Declaration

Source position: objpash.inc line 230

public 
  class function MethodName(address: CodePointer) : shortstring;

Description

MethodName searches the VMT for a method with the specified address and returns the name of the method.

Errors

If no method with the matching address is found, an empty string is returned.

See also

Name Description
FieldAddress Return the address of a field.
MethodAddress Return the address of a method