help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

FindClass

Returns the class pointer of a class with given name.

Declaration

Source position: classesh.inc line 1611

function FindClass(

  const AClassName: String

):TPersistentClass;

Description

FindClass 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, an exception is raised.

The GetClass function does not raise an exception when it does not find the class, but returns a Nil pointer instead.

See also

RegisterClass

  

Registers a class with the streaming system.

GetClass

  

Returns the class pointer of a class with given name.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505