# GetOptionalSizeAsync Method

## Overloads

| [GetOptionalSizeAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.IAppField.GetOptionalSizeAsync.htm#Qlik_Sense_Client_IAppField_GetOptionalSizeAsync) |  | Calculates the size of the available Optional data asynchronously |
| --- | --- | --- |

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

## GetOptionalSizeAsync()

Calculates the size of the available Optional data asynchronously

### Declaration

```

          Task<ISize> GetOptionalSizeAsync()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[ISize](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ISize.htm)&gt; | a Task that retrieves the size of the available data |