# SelectionObject Class

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

Indicates which selections are currently applied. It gives the current selections. Is the layout for `SelectionObjectDef`.

## Inheritance

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

## Syntax

```
[ValueClass]
public class SelectionObject : AbstractStructure, IDisposable, ISelectionObject, IAbstractStructure
```

## Constructors

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

## Properties

| Name | Description |
| --- | --- |
| [BackCount](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SelectionObject.BackCount.htm#Qlik_Engine_SelectionObject_BackCount) | Number of steps back.<br><br>JSON property name: qBackCount |
| [ForwardCount](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SelectionObject.ForwardCount.htm#Qlik_Engine_SelectionObject_ForwardCount) | Number of steps forward.<br><br>JSON property name: qForwardCount |
| [Selections](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SelectionObject.Selections.htm#Qlik_Engine_SelectionObject_Selections) | Lists the fields that are selected.<br><br>JSON property name: qSelections |
| [StateName](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SelectionObject.StateName.htm#Qlik_Engine_SelectionObject_StateName) | Name of the alternate state.<br><br>Default is current selections `$` .<br><br>JSON property name: qStateName |