# SelectionObjectDef Class

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

To display the current selections.

Can be added to any generic object but is particularly meaningful when using session objects to monitor an app.

#### Properties

"qSelectionObjectDef": {}

## Inheritance

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

## Syntax

```
[ValueClass]
public class SelectionObjectDef : AbstractStructure, IDisposable, ISelectionObjectDef, IAbstractStructure
```

## Constructors

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

## Properties

| Name | Description |
| --- | --- |
| [StateName](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SelectionObjectDef.StateName.htm#Qlik_Engine_SelectionObjectDef_StateName) | Name of the alternate state.<br><br>Default is current selections `$` .<br><br>JSON property name: qStateName |