# AcceptListObjectSearch Method

## Overloads

| [AcceptListObjectSearch(String, Boolean, Boolean)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.AcceptListObjectSearch.htm#Qlik_Engine_IGenericObject_AcceptListObjectSearch_System_String_System_Boolean_System_Boolean_) |  | Accept the results of a search in a list object. The search results become selected in the field. |
| --- | --- | --- |

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

## AcceptListObjectSearch(String, Boolean, Boolean)

Accept the results of a search in a list object. The search results become selected in the field.

### Declaration

```

          void AcceptListObjectSearch([QixName("qPath")] string path, [QixName("qToggleMode")] bool toggleMode, [QixName("qSoftLock")] bool softLock = false)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | path | Path to the definition of the list object.<br>For example, `/qListObjectDef` . |
| System.Boolean | toggleMode | Set to true to keep any selections present in the list object.<br>If this parameter is set to false, selections made before accepting the list object search become alternative. |
| System.Boolean | softLock | Set to true to ignore locks; in that case, locked fields can be selected.<br>The default value is false. |

### Remarks

This method applies to list objects (objects with one dimension).