# DestroyGenericObject Method

## Overloads

| [DestroyGenericObject(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.DestroyGenericObject.htm#Qlik_Engine_IApp_DestroyGenericObject_System_String_) |  | Removes an app object.<br><br>The children of the object (if any) are removed as well. |
| --- | --- | --- |

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

## DestroyGenericObject(String)

Removes an app object.

The children of the object (if any) are removed as well.

### Declaration

```

          [QixName("DestroyObject")]
bool DestroyGenericObject([QixName("qId")] string id)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | id | Identifier of the object to remove. |

### Returns

| Type | Description |
| --- | --- |
| System.Boolean |  |

### Remarks

The operation is successful if **qSuccess** is set to true.