# GetNamesOfFieldsWithSelections Method

## Overloads

| [GetNamesOfFieldsWithSelections()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.ISelectionObserver.GetNamesOfFieldsWithSelections.htm#Qlik_Sense_Client_ISelectionObserver_GetNamesOfFieldsWithSelections) |  | 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.ISelectionObserver.GetNamesOfFieldsWithSelections.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.ISelectionObserver.GetNamesOfFieldsWithSelections.htm)

## GetNamesOfFieldsWithSelections()

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

### Declaration

```

          IEnumerable<string> GetNamesOfFieldsWithSelections()
    
  
```

### Returns

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