# EncodeSelectValueString Method

## Overloads

| [EncodeSelectValueString(IEnumerable<String>, Int32)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.SelectionConfigValueSupport.EncodeSelectValueString.htm#PIX_SelectionConfigValueSupport_EncodeSelectValueString_System_Collections_Generic_IEnumerable_System_String__System_Int32_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.SelectionConfigValueSupport.EncodeSelectValueString.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.SelectionConfigValueSupport.EncodeSelectValueString.htm)

## EncodeSelectValueString(IEnumerable&lt;String&gt;, Int32)

### Declaration

```

          public static string EncodeSelectValueString(IEnumerable<string> items, int selectedIndex)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | items |  |
| System.Int32 | selectedIndex |  |

### Returns

| Type | Description |
| --- | --- |
| System.String |  |