# IVariable Interface

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

This class describes all the methods that apply at variable level.

The `handle` member in the JSON request for all methods listed in this section is the handle of the variable.

## Syntax

```
public interface IVariable : IQixClassBase, IDisposable, IChangeNotifier
```

## Methods

| Name | Description |
| --- | --- |
| [ForceContent(String, Double)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.ForceContent.htm#Qlik_Engine_IVariable_ForceContent_System_String_System_Double_) | Sets the value of a dual variable overriding any input constraints. |
| [ForceContentAsync(AsyncHandle, String, Double)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.ForceContentAsync.htm#Qlik_Engine_IVariable_ForceContentAsync_Qlik_Engine_AsyncHandle_System_String_System_Double_) | Sets the value of a dual variable overriding any input constraints. |
| [ForceContentAsync(String, Double)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.ForceContentAsync.htm#Qlik_Engine_IVariable_ForceContentAsync_System_String_System_Double_) | Sets the value of a dual variable overriding any input constraints. |
| [GetContent()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetContent.htm#Qlik_Engine_IVariable_GetContent) | Returns the calculated value of a variable. |
| [GetContentAsync()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetContentAsync.htm#Qlik_Engine_IVariable_GetContentAsync) | Returns the calculated value of a variable. |
| [GetContentAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetContentAsync.htm#Qlik_Engine_IVariable_GetContentAsync_Qlik_Engine_AsyncHandle_) | Returns the calculated value of a variable. |
| [GetContentAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetContentAsync.htm#Qlik_Engine_IVariable_GetContentAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) | Returns the calculated value of a variable. |
| [GetNxProperties()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetNxProperties.htm#Qlik_Engine_IVariable_GetNxProperties) | Gets the properties of a variable. |
| [GetNxPropertiesAsync()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetNxPropertiesAsync.htm#Qlik_Engine_IVariable_GetNxPropertiesAsync) | Gets the properties of a variable. |
| [GetNxPropertiesAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetNxPropertiesAsync.htm#Qlik_Engine_IVariable_GetNxPropertiesAsync_Qlik_Engine_AsyncHandle_) | Gets the properties of a variable. |
| [GetNxPropertiesAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetNxPropertiesAsync.htm#Qlik_Engine_IVariable_GetNxPropertiesAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) | Gets the properties of a variable. |
| [GetRawContent()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetRawContent.htm#Qlik_Engine_IVariable_GetRawContent) | Returns the raw value of a variable. |
| [GetRawContentAsync()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetRawContentAsync.htm#Qlik_Engine_IVariable_GetRawContentAsync) | Returns the raw value of a variable. |
| [GetRawContentAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetRawContentAsync.htm#Qlik_Engine_IVariable_GetRawContentAsync_Qlik_Engine_AsyncHandle_) | Returns the raw value of a variable. |
| [GetRawContentAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.GetRawContentAsync.htm#Qlik_Engine_IVariable_GetRawContentAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) | Returns the raw value of a variable. |
| [SetContent(String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.SetContent.htm#Qlik_Engine_IVariable_SetContent_System_String_System_Boolean_) | Sets a value to a variable. |
| [SetContentAsync(AsyncHandle, String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.SetContentAsync.htm#Qlik_Engine_IVariable_SetContentAsync_Qlik_Engine_AsyncHandle_System_String_System_Boolean_) | Sets a value to a variable. |
| [SetContentAsync(String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.SetContentAsync.htm#Qlik_Engine_IVariable_SetContentAsync_System_String_System_Boolean_) | Sets a value to a variable. |
| [SetContentAsync<T>(AsyncHandle, Func<Response, T>, String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.SetContentAsync.htm#Qlik_Engine_IVariable_SetContentAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_Boolean_) | Sets a value to a variable. |
| [SetNxProperties(NxVariableProperties)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.SetNxProperties.htm#Qlik_Engine_IVariable_SetNxProperties_Qlik_Engine_NxVariableProperties_) | Sets some properties to a variable. |
| [SetNxPropertiesAsync(AsyncHandle, NxVariableProperties)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.SetNxPropertiesAsync.htm#Qlik_Engine_IVariable_SetNxPropertiesAsync_Qlik_Engine_AsyncHandle_Qlik_Engine_NxVariableProperties_) | Sets some properties to a variable. |
| [SetNxPropertiesAsync(NxVariableProperties)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IVariable.SetNxPropertiesAsync.htm#Qlik_Engine_IVariable_SetNxPropertiesAsync_Qlik_Engine_NxVariableProperties_) | Sets some properties to a variable. |