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

GetClass

Returns the class pointer of a class with given name.

Declaration

Source position: classesh.inc line 1588

function GetClass(

  const AClassName: String

):TPersistentClass;

Description

GetClasssearches for the class named ClassNamein the list of registered classes and returns a class pointer to the definition. If no class with the given name could be found, Nilis returned.

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

See also

RegisterClass

  

Registers a class with the streaming system.

GetClass

  

Returns the class pointer of a class with given name.