Is()

Details_SystemException::Is(const System::TypeInfo&) const method

bool System::Details_SystemException::Is(const System::TypeInfo &target) const override

Arguments

ParameterTypeDescription
targetconst System::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.

Remarks

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

See Also