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

TObject.ClassNameIs

Check whether the class name equals the given name.

Declaration

Source position: objpash.inc line 133

public 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

TObject.ClassInfo

  

Return a pointer to the type information for this class.

TObject.ClassType

  

Return a "class of" pointer for the current class

TObject.ClassName

  

Return the current class name.