Sign in Join
FPDoc Onlineexperiment

GetClass function

In unit Classes

Returns the class pointer of a class with given name.

Declaration

pascal
function GetClass(const aClassName: string): TPersistentClass
 ; overload

Description

GetClass searches for the class named ClassName in the list of registered classes and returns a class pointer to the definition. If no class with the given name could be found, Nil is returned.

The FindClass function will raise an exception if the does not find the class.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.