# GetSelectionState Method

## Overloads

| [GetSelectionState()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SelectionObserver.GetSelectionState.htm#Qlik_Sense_Client_SelectionObserver_GetSelectionState) |  | Get the state for which the object currently observes selections. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SelectionObserver.GetSelectionState.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SelectionObserver.GetSelectionState.htm)

## GetSelectionState()

Get the state for which the object currently observes selections.

### Declaration

```

          public string GetSelectionState()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| System.String | The name of the currently observed selection state. |

### Implements

[ISelectionObserver.GetSelectionState()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.ISelectionObserver.GetSelectionState.htm#Qlik_Sense_Client_ISelectionObserver_GetSelectionState)