# DidDestroyChild Method

## Overloads

| [DidDestroyChild(Boolean, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DidDestroyChild.htm#Qlik_Engine_GenericObject_DidDestroyChild_System_Boolean_System_String_) |  | Callback after destroy, this method can be overridden to customize the behavior after a child has been destroyed. |
| --- | --- | --- |

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

## DidDestroyChild(Boolean, String)

Callback after destroy, this method can be overridden to customize the behavior after a child has been destroyed.

### Declaration

```

          protected virtual void DidDestroyChild(bool success, string childId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Boolean | success | True if the child was destroyed successfully |
| System.String | childId | Identifier of the child that was destroyed. |