# GetMasterObjectList Method

## Overloads

| [GetMasterObjectList(IApp)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetMasterObjectList.htm#Qlik_Sense_Client_AppExtensions_GetMasterObjectList_Qlik_Engine_IApp_) |  | This method creates and returns a session object that must be disposed to avoid session object leakage. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetMasterObjectList.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetMasterObjectList.htm)

## GetMasterObjectList(IApp)

This method creates and returns a session object that must be disposed to avoid session object leakage.

### Declaration

```

          public static IMasterObjectList GetMasterObjectList(this IApp theApp)
    
  
```

### Parameters

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

### Returns

| Type | Description |
| --- | --- |
| [IMasterObjectList](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.IMasterObjectList.htm) |  |