# GetFieldAsync Method

## Overloads

| [GetFieldAsync(String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFieldAsync.htm#Qlik_Engine_IApp_GetFieldAsync_System_String_System_String_) |  | Returns a handle to a field. |
| --- | --- | --- |
| [GetFieldAsync(AsyncHandle, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFieldAsync.htm#Qlik_Engine_IApp_GetFieldAsync_Qlik_Engine_AsyncHandle_System_String_System_String_) |  | Returns a handle to a field. |
| [GetFieldAsync<T>(AsyncHandle, Func<Response, T>, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFieldAsync.htm#Qlik_Engine_IApp_GetFieldAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_String_) |  | Returns a handle to a field. |

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

## GetFieldAsync(String, String)

Returns a handle to a field.

### Declaration

```

          Task<Field> GetFieldAsync([QixName("qFieldName")] string fieldName, [QixName("qStateName")] string stateName = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | fieldName | Name of the field. |
| System.String | stateName | Name of the alternate state.<br>Default state is current selections. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[Field](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Field.htm)&gt; |  |

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

## GetFieldAsync(AsyncHandle, String, String)

Returns a handle to a field.

### Declaration

```

          Task<Field> GetFieldAsync(AsyncHandle asyncHandle, [QixName("qFieldName")] string fieldName, [QixName("qStateName")] string stateName = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | fieldName | Name of the field. |
| System.String | stateName | Name of the alternate state.<br>Default state is current selections. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[Field](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Field.htm)&gt; |  |

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

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

Returns a handle to a field.

### Declaration

```
Task<T> GetFieldAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qFieldName")] string fieldName, [QixName("qStateName")] string stateName = null)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/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/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | fieldName | Name of the field. |
| System.String | stateName | Name of the alternate state.<br>Default state is current selections. |

### Returns

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

### Type Parameters

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