## TableStyleElementCollection::Add method


Adds an element.

```cpp
int32_t Aspose::Cells::Tables::TableStyleElementCollection::Add(TableStyleElementType type)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | TableStyleElementType | The type of the element |

## ReturnValue

Returns the index of the element in the list.

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [TableStyleElementType](../../tablestyleelementtype/)
* Class [TableStyleElementCollection](../)
* Namespace [Aspose::Cells::Tables](../../)
* Library [Aspose.Cells for C++](../../../)
