Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TObject.ClassName

Return the current class name.

Declaration

Source position: objpash.inc line 237

public class function TObject.ClassName: shortstring;

Description

ClassName returns the class name for the current class. To check for the class name, you can use the ClassNameIs class method.

Errors

None.

See also

ClassInfo

  

Return a pointer to the type information for this class.

ClassType

  

Return a "class of" pointer for the current class.

ClassNameIs

  

Check whether the class name equals the given name.


Documentation generated on: Jul 24 2023