# GetParent Method

## Overloads

| [GetParent()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.GetParent.htm#Qlik_Engine_GenericObject_GetParent) |  | Returns the type of the object and the corresponding handle to the parent object in the hiearchy. |
| --- | --- | --- |

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

## GetParent()

Returns the type of the object and the corresponding handle to the parent object in the hiearchy.

### Declaration

```

          public GenericObject GetParent()
    
  
```

### Returns

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

### Implements

[IGenericObject.GetParent()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.GetParent.htm#Qlik_Engine_IGenericObject_GetParent)