---
title: "DataColumnCollection class"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram/datacolumncollection/"
product: "Aspose.Diagram for Python via .NET API References"
---


## DataColumnCollection class

DataColumn collection.



**Inheritance:** [DataColumnCollection](/diagram/python-net/aspose.diagram/datacolumncollection) → 
[Collection](/diagram/python-net/aspose.diagram/collection)



The DataColumnCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [count](/diagram/python-net/aspose.diagram/datacolumncollection/count) | Gets the number of elements actually contained in the collection. |
| [sort_column](/diagram/python-net/aspose.diagram/datacolumncollection/sort_column) | The column on which to sort the data. |
| [sort_asc](/diagram/python-net/aspose.diagram/datacolumncollection/sort_asc) | Whether to sort the SortColumn column in ascending (1) or descending (0) order. |



Gets the element at the specified index.
### Indexer
| Name | Description |
| :- | :- |
| [index] |  |


### Methods
| Method | Description |
| :- | :- |
| [is_exist(index)](/diagram/python-net/aspose.diagram/datacolumncollection/is_exist/#int) | Is exist item in the collection. |
| [clear()](/diagram/python-net/aspose.diagram/datacolumncollection/clear/#) | Removes all elements from collection. |
| [add(data_column)](/diagram/python-net/aspose.diagram/datacolumncollection/add/#DataColumn) | Add the dataColumn in the collection. |
| [remove(data_column)](/diagram/python-net/aspose.diagram/datacolumncollection/remove/#DataColumn) | Remove the dataColumn from the collection. |


### See Also

* module [aspose.diagram](../)
* class [Collection](/diagram/python-net/aspose.diagram/collection)
