# GetAppFields Method

## Overloads

| [GetAppFields(IApp)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetAppFields.htm#Qlik_Sense_Client_AppExtensions_GetAppFields_Qlik_Engine_IApp_) |  | Get app fields. This method creates an AppField instance which must be disposed to avoid session object leakage. |
| --- | --- | --- |

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

## GetAppFields(IApp)

Get app fields. This method creates an AppField instance which must be disposed to avoid session object leakage.

### Declaration

```

          public static IEnumerable<IAppField> GetAppFields(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 |
| --- | --- |
| System.Collections.Generic.IEnumerable&lt;[IAppField](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.IAppField.htm)&gt; | A System.Collections.Generic.IEnumerator&lt;T&gt; that can be used to iterate through the collection. |