# If Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

## Inheritance

* System.Object
  * [AbstractStructure](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm)
    * If

## Syntax

```
[ValueClass]
public class If : AbstractStructure, IDisposable, IIf, IAbstractStructure
```

## Constructors

| Name | Description |
| --- | --- |
| [If()](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.If.-ctor.htm#Qlik_Engine_If__ctor) | Creates an instance of the If class |

## Properties

| Name | Description |
| --- | --- |
| [Expr](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.If.Expr.htm#Qlik_Engine_If_Expr) | JSON property name: qExpr |