# SelectListObjectValues Method

## Overloads

| [SelectListObjectValues(String, IEnumerable<Int32>, Boolean, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SelectListObjectValues.htm#Qlik_Engine_GenericObject_SelectListObjectValues_System_String_System_Collections_Generic_IEnumerable_System_Int32__System_Boolean_System_Boolean_) |  | Makes single selections in dimensions.<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 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.SelectListObjectValues.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SelectListObjectValues.htm)

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

Makes single selections in dimensions.

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 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 bool SelectListObjectValues([QixName("qPath")] string path, [QixName("qValues")] IEnumerable<int> values, [QixName("qToggleMode")] bool toggleMode, [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.Collections.Generic.IEnumerable&lt;System.Int32&gt; | values | Element numbers to select.<br>You can select multiple values; the separator is the comma. |
| System.Boolean | toggleMode | Set to true to toggle. |
| 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 |  |

### Implements

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

### Remarks

This method applies to list objects only.