System::TypeInfo::IsInstanceOfType method

TypeInfo::IsInstanceOfType method

Determines whether the specified object is an instance of the current type.

bool System::TypeInfo::IsInstanceOfType(const SharedPtr<Object> &obj) const
ParameterTypeDescription
objconst SharedPtr<Object>&The object to compare with the current type

ReturnValue

true if the current type is in the inheritance hierarchy of the object represented by obj

See Also