# ApplyGroupStates Method

## Overloads

| [ApplyGroupStates(IEnumerable<GroupState>)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.ApplyGroupStates.htm#Qlik_Engine_IApp_ApplyGroupStates_System_Collections_Generic_IEnumerable_Qlik_Engine_GroupState__) |  |  |
| --- | --- | --- |

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

## ApplyGroupStates(IEnumerable&lt;GroupState&gt;)

### Declaration

```

          ApplyGroupStatesResult ApplyGroupStates([QixName("qGroupStates")] IEnumerable<GroupState> groupStates)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Collections.Generic.IEnumerable&lt;[GroupState](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GroupState.htm)&gt; | groupStates |  |

### Returns

| Type | Description |
| --- | --- |
| [ApplyGroupStatesResult](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ApplyGroupStatesResult.htm) |  |