# SelectAssociations Method

## Overloads

| [SelectAssociations(SearchCombinationOptions, IEnumerable<String>, Int32, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.SelectAssociations.htm#Qlik_Engine_App_SelectAssociations_Qlik_Engine_SearchCombinationOptions_System_Collections_Generic_IEnumerable_System_String__System_Int32_System_Boolean_) |  | Selects all search hits for a specified group.<br><br>The results depend on the search context.<br><br><br>`SearchCombinationOptions`. |
| --- | --- | --- |

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

## SelectAssociations(SearchCombinationOptions, IEnumerable&lt;String&gt;, Int32, Boolean)

Selects all search hits for a specified group.

The results depend on the search context.

`SearchCombinationOptions`.

### Declaration

```

          public void SelectAssociations([QixName("qOptions")] SearchCombinationOptions options, [QixName("qTerms")] IEnumerable<string> terms, [QixName("qMatchIx")] int matchIx, [QixName("qSoftLock")] bool softLock = false)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [SearchCombinationOptions](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SearchCombinationOptions.htm) | options | Information about the search fields and the search context. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | terms | List of terms to search for. |
| System.Int32 | matchIx | Index (value of `qId` ) of the search result to select. |
| System.Boolean | softLock | This parameter is deprecated and should not be set. |

### Implements

[IApp.SelectAssociations(SearchCombinationOptions, IEnumerable<String>, Int32, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SelectAssociations.htm#Qlik_Engine_IApp_SelectAssociations_Qlik_Engine_SearchCombinationOptions_System_Collections_Generic_IEnumerable_System_String__System_Int32_System_Boolean_)