# StructureDiff Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

A class representing the diff between two abstract structures for a particular property path.

## Inheritance

* System.Object
  * StructureDiff

## Syntax

```
public abstract class StructureDiff : IStructureDiff
```

## Constructors

| Name | Description |
| --- | --- |
| [StructureDiff()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.-ctor.htm#Qlik_Engine_StructureDiff__ctor) | Create an empty structure diff. |

## Properties

| Name | Description |
| --- | --- |
| [NewType](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.NewType.htm#Qlik_Engine_StructureDiff_NewType) | The new type of the property. |
| [NewValue](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.NewValue.htm#Qlik_Engine_StructureDiff_NewValue) | The new value of the property. |
| [OldType](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.OldType.htm#Qlik_Engine_StructureDiff_OldType) | The original type of the property. |
| [OldValue](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.OldValue.htm#Qlik_Engine_StructureDiff_OldValue) | The original value of the property. |
| [Path](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.Path.htm#Qlik_Engine_StructureDiff_Path) | The path to the property of an abstract structure for which the diff applies. |
| [Type](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.Type.htm#Qlik_Engine_StructureDiff_Type) | The diff type (add, remove, etc). |

## Methods

| Name | Description |
| --- | --- |
| [AddPropertyLevel(String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.AddPropertyLevel.htm#Qlik_Engine_StructureDiff_AddPropertyLevel_System_String_) | Add a level to the path for the property of the diff. |
| [Diff(JToken, JToken)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.StructureDiff.Diff.htm#Qlik_Engine_StructureDiff_Diff_Newtonsoft_Json_Linq_JToken_Newtonsoft_Json_Linq_JToken_) | Create a set of diffs between two tokens. |