[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

TObject.ClassNameIs

Check whether the class name equals the given name.

Declaration

Source position: objpash.inc line 200

class function TObject.ClassNameIs(

  const name: String

):Boolean;

Description

ClassNameIs checks whether Name equals the class name. It takes of case sensitivity, i.e. it converts both names to uppercase before comparing.

See also

ClassInfo

  

Return a pointer to the type information for this class.

ClassType

  

Return a "class of" pointer for the current class

ClassName

  

Return the current class name.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.