# Unlock Method

## Overloads

| [Unlock(String, IEnumerable<Int32>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.Unlock.htm#Qlik_Engine_GenericObject_Unlock_System_String_System_Collections_Generic_IEnumerable_System_Int32__) |  | Unlocks the selected values of a generic object if the target (or handle ) is a generic object |
| --- | --- | --- |

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

## Unlock(String, IEnumerable&lt;Int32&gt;)

Unlocks the selected values of a generic object if the target (or handle ) is a generic object

### Declaration

```

          public void Unlock([QixName("qPath")] string path, [QixName("qColIndices")] IEnumerable<int> colIndices = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | path | Path to the definition of the object.<br>For example, `/qListObjectDef` . |
| System.Collections.Generic.IEnumerable&lt;System.Int32&gt; | colIndices | Dimension numbers/indexes where the unlock should apply.<br>Dimension numbers/indexes start from 0.<br>If this parameter is not set, the locked values in all dimensions are unlocked. |

### Implements

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