|
RAD Studio VCL Reference
|
Determines the relationship of two object types.
class function InheritsFrom(AClass: TClass): Boolean;
Boolean InheritsFrom(TClass AClass);
Use System::TObject::InheritsFrom to determine if a particular class type or object is an instance of a class or one of its descendants. System::TObject::InheritsFrom returns true if the object type specified in the aClass parameter is an ancestor of the object type or the type of the object itself. Otherwise, it returns false.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|