# GetFieldsFromExpressionAsync Method

## Overloads

| [GetFieldsFromExpressionAsync(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFieldsFromExpressionAsync.htm#Qlik_Engine_IApp_GetFieldsFromExpressionAsync_System_String_) |  | Retrives any fields from an expression. |
| --- | --- | --- |
| [GetFieldsFromExpressionAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFieldsFromExpressionAsync.htm#Qlik_Engine_IApp_GetFieldsFromExpressionAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Retrives any fields from an expression. |
| [GetFieldsFromExpressionAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFieldsFromExpressionAsync.htm#Qlik_Engine_IApp_GetFieldsFromExpressionAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Retrives any fields from an expression. |

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

## GetFieldsFromExpressionAsync(String)

Retrives any fields from an expression.

### Declaration

```

          Task<IEnumerable<string>> GetFieldsFromExpressionAsync([QixName("qExpr")] string expr)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | expr | Expression to get fields from. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.Collections.Generic.IEnumerable&lt;System.String&gt;&gt; |  |

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

## GetFieldsFromExpressionAsync(AsyncHandle, String)

Retrives any fields from an expression.

### Declaration

```

          Task<IEnumerable<string>> GetFieldsFromExpressionAsync(AsyncHandle asyncHandle, [QixName("qExpr")] string expr)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | expr | Expression to get fields from. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.Collections.Generic.IEnumerable&lt;System.String&gt;&gt; |  |

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

## GetFieldsFromExpressionAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String)

Retrives any fields from an expression.

### Declaration

```
Task<T> GetFieldsFromExpressionAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qExpr")] string expr)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | expr | Expression to get fields from. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |