## LegendEntryCollection class


Represents a collection of all the [LegendEntry](../legendentry/) objects in the specified chart legend.

```cpp
class LegendEntryCollection
```

## Methods

| Method | Description |
| --- | --- |
| [begin()](./begin/) | Returns an iterator to the beginning of the [LegendEntryCollection](./). |
| [end()](./end/) | Returns an iterator to the end of the [LegendEntryCollection](./). |
| [Get(int32_t index)](./get/) | Gets the [LegendEntry](../legendentry/) element at the specified index. |
| [GetCount()](./getcount/) | Gets the number of elements contained in the instance. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| [LegendEntryCollection(LegendEntryCollection_Impl* impl)](./legendentrycollection/) | Constructs from an implementation object. |
| [LegendEntryCollection(const LegendEntryCollection\& src)](./legendentrycollection/) | Copy constructor. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const LegendEntryCollection\& src)](./operator_asm/) | operator= |
| [~LegendEntryCollection()](./~legendentrycollection/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells::Charts](../)
* Library [Aspose.Cells for C++](../../)
