## IEnumerable::LINQ_ElementAtOrDefault method


Returns the element at a specified index in a sequence.

```cpp
T System::Collections::Generic::IEnumerable<T>::LINQ_ElementAtOrDefault(int index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) to get element at. |

### ReturnValue

Element at specified index or default-constructed value if not found.

## See Also

* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
