# SelectListObjectExcludedAsync Method

## Overloads

| [SelectListObjectExcludedAsync(String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SelectListObjectExcludedAsync.htm#Qlik_Engine_GenericObject_SelectListObjectExcludedAsync_System_String_System_Boolean_) |  | Inverts the current selections in a specific field.<br><br>The member **Change** returns the handles of the objects that are updated following the selections.<br><br><br>`qSuccess` is set to `true` if the selections are successful and is set to `false` in the following cases:<br><br>\* The object contains some invalid fields (fields that are not in the data model).<br><br>\* The selection applies to a locked field.<br><br>\* A range selection is performed and the parameter `OneAndOnlyOne` is set to true in the definition of the object. |
| --- | --- | --- |
| [SelectListObjectExcludedAsync(AsyncHandle, String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SelectListObjectExcludedAsync.htm#Qlik_Engine_GenericObject_SelectListObjectExcludedAsync_Qlik_Engine_AsyncHandle_System_String_System_Boolean_) |  | Inverts the current selections in a specific field.<br><br>The member **Change** returns the handles of the objects that are updated following the selections.<br><br><br>`qSuccess` is set to `true` if the selections are successful and is set to `false` in the following cases:<br><br>\* The object contains some invalid fields (fields that are not in the data model).<br><br>\* The selection applies to a locked field.<br><br>\* A range selection is performed and the parameter `OneAndOnlyOne` is set to true in the definition of the object. |
| [SelectListObjectExcludedAsync<T>(AsyncHandle, Func<Response, T>, String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SelectListObjectExcludedAsync.htm#Qlik_Engine_GenericObject_SelectListObjectExcludedAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_Boolean_) |  | Inverts the current selections in a specific field.<br><br>The member **Change** returns the handles of the objects that are updated following the selections.<br><br><br>`qSuccess` is set to `true` if the selections are successful and is set to `false` in the following cases:<br><br>\* The object contains some invalid fields (fields that are not in the data model).<br><br>\* The selection applies to a locked field.<br><br>\* A range selection is performed and the parameter `OneAndOnlyOne` is set to true in the definition of the object. |

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

## SelectListObjectExcludedAsync(String, Boolean)

Inverts the current selections in a specific field.

The member **Change** returns the handles of the objects that are updated following the selections.

`qSuccess` is set to `true` if the selections are successful and is set to `false` in the following cases:

* The object contains some invalid fields (fields that are not in the data model).
* The selection applies to a locked field.
* A range selection is performed and the parameter OneAndOnlyOne is set to true in the definition of the object.

### Declaration

```

          public Task<bool> SelectListObjectExcludedAsync([QixName("qPath")] string path, [QixName("qSoftLock")] bool softLock = false)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | path | Path to the definition of the object to be selected.<br>For example, `/qListObjectDef` . |
| System.Boolean | softLock | Set to true to ignore locks; in that case, locked fields can be selected.<br>The default value is false. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.Boolean&gt; |  |

### Implements

[IGenericObject.SelectListObjectExcludedAsync(String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.SelectListObjectExcludedAsync.htm#Qlik_Engine_IGenericObject_SelectListObjectExcludedAsync_System_String_System_Boolean_)

### Remarks

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

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

## SelectListObjectExcludedAsync(AsyncHandle, String, Boolean)

Inverts the current selections in a specific field.

The member **Change** returns the handles of the objects that are updated following the selections.

`qSuccess` is set to `true` if the selections are successful and is set to `false` in the following cases:

* The object contains some invalid fields (fields that are not in the data model).
* The selection applies to a locked field.
* A range selection is performed and the parameter OneAndOnlyOne is set to true in the definition of the object.

### Declaration

```

          public Task<bool> SelectListObjectExcludedAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path, [QixName("qSoftLock")] bool softLock = false)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | path | Path to the definition of the object to be selected.<br>For example, `/qListObjectDef` . |
| System.Boolean | softLock | Set to true to ignore locks; in that case, locked fields can be selected.<br>The default value is false. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.Boolean&gt; |  |

### Implements

[IGenericObject.SelectListObjectExcludedAsync(AsyncHandle, String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.SelectListObjectExcludedAsync.htm#Qlik_Engine_IGenericObject_SelectListObjectExcludedAsync_Qlik_Engine_AsyncHandle_System_String_System_Boolean_)

### Remarks

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

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

## SelectListObjectExcludedAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String, Boolean)

Inverts the current selections in a specific field.

The member **Change** returns the handles of the objects that are updated following the selections.

`qSuccess` is set to `true` if the selections are successful and is set to `false` in the following cases:

* The object contains some invalid fields (fields that are not in the data model).
* The selection applies to a locked field.
* A range selection is performed and the parameter OneAndOnlyOne is set to true in the definition of the object.

### Declaration

```
public Task<T> SelectListObjectExcludedAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qPath")] string path, [QixName("qSoftLock")] bool softLock = false)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | path | Path to the definition of the object to be selected.<br>For example, `/qListObjectDef` . |
| System.Boolean | softLock | Set to true to ignore locks; in that case, locked fields can be selected.<br>The default value is false. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |

### Implements

[IGenericObject.SelectListObjectExcludedAsync<T>(AsyncHandle, Func<Response, T>, String, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.SelectListObjectExcludedAsync.htm#Qlik_Engine_IGenericObject_SelectListObjectExcludedAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_Boolean_)

### Remarks

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