# ApplyPatches Method

## Overloads

| [ApplyPatches(IEnumerable<NxPatch>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericDimension.ApplyPatches.htm#Qlik_Engine_GenericDimension_ApplyPatches_System_Collections_Generic_IEnumerable_Qlik_Engine_NxPatch__) |  | Applies a patch to the properties of an object. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId",<br><br>and it will be forbidden in the near future. |
| --- | --- | --- |

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

## ApplyPatches(IEnumerable&lt;NxPatch&gt;)

Applies a patch to the properties of an object. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId",

and it will be forbidden in the near future.

### Declaration

```

          public void ApplyPatches([QixName("qPatches")] IEnumerable<NxPatch> patches)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Collections.Generic.IEnumerable&lt;[NxPatch](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxPatch.htm)&gt; | patches | Array of patches. |

### Implements

[IGenericDimension.ApplyPatches(IEnumerable<NxPatch>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericDimension.ApplyPatches.htm#Qlik_Engine_IGenericDimension_ApplyPatches_System_Collections_Generic_IEnumerable_Qlik_Engine_NxPatch__)

### Remarks

Applying a patch takes less time than resetting all the properties.