---
title: "Aspose::Cells::Charts::TrendlineCollection::GetCount method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.charts/trendlinecollection/getcount/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Charts::TrendlineCollection::GetCount method. Gets the number of elements contained in the instance in C++."
---

## TrendlineCollection::GetCount method


Gets the number of elements contained in the instance.

```cpp
int32_t Aspose::Cells::Charts::TrendlineCollection::GetCount()
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [TrendlineCollection](../)
* Namespace [Aspose::Cells::Charts](../../)
* Library [Aspose.Cells for C++](../../../)
