[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 208

public 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.


Documentation generated on: Mar 17 2017