---
title: "Aspose::Email::Mapi::KnownPropertyList::idx_set method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/idx_set/"
product: "Aspose.Email for C++"
description: "Gets the element at the specified index."
---


## idx_set {#idx_set}

Gets the element at the specified index.

**Returns:** void Aspose::Email::Mapi::

```cpp
idx_set(int32_t index, System::SharedPtr < PropertyDescriptor > value)
```

| Parameter | Description |
| --- | --- |
| index | The zero-based index of the element to get or set. |
| value | The property is set and the System.Collections.Generic.IList is read-only. |

