System::Object::Is method

Object::Is 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
ParameterTypeDescription
targetTypeconst TypeInfo&TypeInfo structure describing the type to test current object against.

ReturnValue

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

See Also