CObject::IsKindOf

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.

Syntax

BOOL IsKindOf( const CRuntimeClass* pClass ) const;

At a Glance

Header file: Afx.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CObject Overview, CObject Member Functions, Classes Derived from CObject, CObject::GetRuntimeClass