# SetProperties Method

## Overloads

| [SetProperties(GenericVariableProperties)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericVariable.SetProperties.htm#Qlik_Engine_IGenericVariable_SetProperties_Qlik_Engine_GenericVariableProperties_) |  | Sets some properties for a variable. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericVariable.SetProperties.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericVariable.SetProperties.htm)

## SetProperties(GenericVariableProperties)

Sets some properties for a variable.

### Declaration

```

          void SetProperties([QixName("qProp")] GenericVariableProperties prop)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [GenericVariableProperties](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericVariableProperties.htm) | prop | Information about the variable. |

### Remarks

The identifier of a variable cannot be modified.