# Variable Class

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

## Inheritance

* System.Object
  * [QixClassBase](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.QixClassBase.htm)
    * [PropertyContainer](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.PropertyContainer.htm)
      * [GenericVariable](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericVariable.htm)
        * Variable

## Syntax

```
public class Variable : GenericVariable, ITransient, IVariable, IGenericVariable, IPropertyContainer, IQixClassBase, IDisposable, IChangeNotifier
```

## Constructors

| Name | Description |
| --- | --- |
| [Variable(Int32)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Variable.-ctor.htm#Qlik_Sense_Client_Variable__ctor_System_Int32_) |  |

## Properties

| Name | Description |
| --- | --- |
| [Layout](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Variable.Layout.htm#Qlik_Sense_Client_Variable_Layout) |  |
| [Properties](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Variable.Properties.htm#Qlik_Sense_Client_Variable_Properties) |  |

## Methods

| Name | Description |
| --- | --- |
| [Dispose(Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Variable.Dispose.htm#Qlik_Sense_Client_Variable_Dispose_System_Boolean_) |  |
| [GetLayoutAsync()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Variable.GetLayoutAsync.htm#Qlik_Sense_Client_Variable_GetLayoutAsync) |  |
| [GetPropertiesAsync()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Variable.GetPropertiesAsync.htm#Qlik_Sense_Client_Variable_GetPropertiesAsync) |  |
| [OnGetLayoutAsync(Response)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Variable.OnGetLayoutAsync.htm#Qlik_Sense_Client_Variable_OnGetLayoutAsync_Qlik_Engine_Communication_IO_Response_) |  |
| [OnGetPropertiesAsync(Response)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Variable.OnGetPropertiesAsync.htm#Qlik_Sense_Client_Variable_OnGetPropertiesAsync_Qlik_Engine_Communication_IO_Response_) |  |