---
title: "System::Collections::Generic::List::idx_set method"
url: "https://reference.aspose.com/tex/cpp/system.collections.generic/list/idx_set/"
product: "Aspose.TeX for C++"
description: "System::Collections::Generic::List::idx_set method. Sets element at specific position in C++."
---

## List::idx_set method


Sets element at specific position.

```cpp
void System::Collections::Generic::List<T>::idx_set(int index, T value) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) to set element at. |
| value | T | Value to set to specified position. |

## See Also

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.TeX for C++](../../../)
