---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.complexbarcode/gs1digitallink/idx_get/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Gets an element by its position in the ordered sequence in C++."
---

## GS1DigitalLink::idx_get method


Gets an element by its position in the ordered sequence.

```cpp
System::SharedPtr<Common::GS1Element> Aspose::BarCode::ComplexBarcode::GS1DigitalLink::idx_get(int32_t index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int32_t | Zero-based element index. |

### ReturnValue

The immutable element at the specified index.

## See Also

* Class [GS1Element](../../../aspose.barcode.common/gs1element/)
* Class [GS1DigitalLink](../)
* Namespace [Aspose::BarCode::ComplexBarcode](../../)
* Library [Aspose.BarCode for C++](../../../)
