# AddSelections Method

## Overloads

| [AddSelections(String, QDSSession, List<FieldContent>, Boolean, Boolean, Boolean)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.Services.IQDS.AddSelections.htm#PIX_Services_IQDS_AddSelections_System_String_PIX_Document_QDSSession_System_Collections_Generic_List_PIX_Document_FieldContent__System_Boolean_System_Boolean_System_Boolean_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.IQDS.AddSelections.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.IQDS.AddSelections.htm)

## AddSelections(String, QDSSession, List&lt;FieldContent&gt;, Boolean, Boolean, Boolean)

### Declaration

```

          List<FieldContent> AddSelections(string i_QDSPassword, QDSSession i_QDSSession, List<FieldContent> i_FieldContentList, bool i_Lock, bool i_ToggleSelect, bool i_ReturnSelectedList)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | i\_QDSPassword |  |
| [QDSSession](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.Document.QDSSession.htm) | i\_QDSSession |  |
| System.Collections.Generic.List&lt;[FieldContent](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.Document.FieldContent.htm)&gt; | i\_FieldContentList |  |
| System.Boolean | i\_Lock |  |
| System.Boolean | i\_ToggleSelect |  |
| System.Boolean | i\_ReturnSelectedList |  |

### Returns

| Type | Description |
| --- | --- |
| System.Collections.Generic.List&lt;[FieldContent](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.Document.FieldContent.htm)&gt; |  |