Is()

Object::Is(const TypeInfo&) const method

Check if object represents an instance of type described by targetType. Analog of C# ‘is’ operator.

virtual bool System::Object::Is(const TypeInfo &targetType) const

Arguments

ParameterTypeDescription
targetTypeconst TypeInfo&TypeInfo structure describing the type to test current object against.

Return Value

True if object is of tagged type or its subclass, false otherwise.

See Also