## IDataContainer::AddDataSource method


Adds new data source to the collection.

```cpp
virtual void Aspose::Page::Plugins::IDataContainer::AddDataSource(System::SharedPtr<IDataSource> dataSource)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| dataSource | System::SharedPtr\<IDataSource\> |  |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IDataSource](../../idatasource/)
* Class [IDataContainer](../)
* Namespace [Aspose::Page::Plugins](../../)
* Library [Aspose.Page for C++](../../../)
