Finds and returns a class that is derived from TPersistent.
function FindClass(const ClassName: string): TPersistentClass;
TPersistentClass FindClass(const AnsiString ClassName);
Classes
Call FindClass to locate a class type by name. FindClass searches the classes that the streaming system knows about. Classes can be registered with a call to RegisterClasses so that the streaming system will recognize that class in a stream and know how to construct it.
If the requested class name cannot be found, FindClass raises an exception.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|