# SelectExcluded Method

## Overloads

| [SelectExcluded(Boolean)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IField.SelectExcluded.htm#Qlik_Engine_IField_SelectExcluded_System_Boolean_) |  | Inverts the current selections. |
| --- | --- | --- |

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

## SelectExcluded(Boolean)

Inverts the current selections.

### Declaration

```

          bool SelectExcluded([QixName("qSoftLock")] bool softLock = false)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| 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.Boolean |  |

### Remarks

The operation is successful if qReturn is set to true.