IsInstanceOfType()

TypeInfo::IsInstanceOfType(const SharedPtr<Object>&) const method

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

bool System::TypeInfo::IsInstanceOfType(const SharedPtr<Object> &obj) const

Arguments

ParameterTypeDescription
objconst SharedPtr<Object>&The object to compare with the current type

Return Value

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

See Also