# GetNamesOfFieldsWithSelectionsAsync Method

## Overloads

| [GetNamesOfFieldsWithSelectionsAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SelectionObserver.GetNamesOfFieldsWithSelectionsAsync.htm#Qlik_Sense_Client_SelectionObserver_GetNamesOfFieldsWithSelectionsAsync) |  | Get the names of all fields that currently have any selected values. |
| --- | --- | --- |

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

## GetNamesOfFieldsWithSelectionsAsync()

Get the names of all fields that currently have any selected values.

### Declaration

```

          public Task<IEnumerable<string>> GetNamesOfFieldsWithSelectionsAsync()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.Collections.Generic.IEnumerable&lt;System.String&gt;&gt; | An IEnumerable with the name of all fields with any selections. |

### Implements

[ISelectionObserver.GetNamesOfFieldsWithSelectionsAsync()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.ISelectionObserver.GetNamesOfFieldsWithSelectionsAsync.htm#Qlik_Sense_Client_ISelectionObserver_GetNamesOfFieldsWithSelectionsAsync)