# OnGetLayoutAsync Method

## Overloads

| [OnGetLayoutAsync<T>(Response)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.PropertyContainer.OnGetLayoutAsync.htm#Qlik_Engine_PropertyContainer_OnGetLayoutAsync__1_Qlik_Engine_Communication_IO_Response_) |  | Generic callback method for deserializing layouts. |
| --- | --- | --- |

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

## OnGetLayoutAsync&lt;T&gt;(Response)

Generic callback method for deserializing layouts.

### Declaration

```

          protected T OnGetLayoutAsync<T>(Response response)
    where T : AbstractStructure, new()
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Response](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm) | response | The response object returned from the Qlik Sense engine. |

### Returns

| Type | Description |
| --- | --- |
| T | The layout structure deserialized as type T. |

### Type Parameters

| Name | Description |
| --- | --- |
| T | The type to which the layout should be deserialized. |