Call this member function to test pClass to see if (1) it is an object of the specified class or (2) it is an object of a class derived from the specified class.
BOOL IsKindOf( const CRuntimeClass* pClass ) const;
Header file: | Afx.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CObject Overview, CObject Member Functions, Classes Derived from CObject, CObject::GetRuntimeClass