# EndSelections Method

## Overloads

| [EndSelections(Boolean)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.EndSelections.htm#Qlik_Engine_IGenericObject_EndSelections_System_Boolean_) |  | Ends the selection mode on a visualization. The selections are accepted or aborted when exiting the selection mode, depending on the `qAccept` parameter value. |
| --- | --- | --- |

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

## EndSelections(Boolean)

Ends the selection mode on a visualization. The selections are accepted or aborted when exiting the selection mode, depending on the `qAccept` parameter value.

### Declaration

```

          void EndSelections([QixName("qAccept")] bool accept)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Boolean | accept | Set this parameter to true to accept the selections before exiting the selection mode. |