Aspose::Cells::ExternalConnections::ExternalConnectionCollection class
Contents
[
Hide
]ExternalConnectionCollection class
Specifies the ExternalConnection collection.
class ExternalConnectionCollection
Methods
Fields
| Field | Description |
|---|---|
| _impl | The implementation object. |
Examples
Aspose::Cells::Startup();
Workbook wb(u"connection.xlsx");
ExternalConnectionCollection dataConns = wb.GetDataConnections();
for (int i = 0; i < dataConns.GetCount(); i++)
{
ExternalConnection dataConn = dataConns.Get(i);
//get external connection id
int id = dataConn.GetConnectionId();
}
Aspose::Cells::Cleanup();
See Also
- Namespace Aspose::Cells::ExternalConnections
- Library Aspose.Cells for C++