
## DataConnectionCollection class

DataConnection collection.



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



The DataConnectionCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [count](/diagram/python-net/aspose.diagram/dataconnectioncollection/count) | Gets the number of elements actually contained in the collection. |
| [next_id](/diagram/python-net/aspose.diagram/dataconnectioncollection/next_id) | The next available ID for new connections. |



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


### Methods
| Method | Description |
| :- | :- |
| [is_exist(index)](/diagram/python-net/aspose.diagram/dataconnectioncollection/is_exist/#int) | Is exist item in the collection. |
| [clear()](/diagram/python-net/aspose.diagram/dataconnectioncollection/clear/#) | Removes all elements from collection. |
| [add(data_connection)](/diagram/python-net/aspose.diagram/dataconnectioncollection/add/#DataConnection) | Add the dataConnection in the collection. |
| [remove(data_connection)](/diagram/python-net/aspose.diagram/dataconnectioncollection/remove/#DataConnection) | Remove the dataConnection from the collection. |
| [get_data_connection(id)](/diagram/python-net/aspose.diagram/dataconnectioncollection/get_data_connection/#int) | Gets the element at the specified ID. |


### See Also

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