API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > setDataLink Method > OdDbTable::setDataLink Method (OdInt32, OdInt32, OdDbObjectId&, bool)
OdDbTable::setDataLink Method (OdInt32, OdInt32, OdDbObjectId&, bool)
Syntax
C++
void setDataLink(OdInt32 row, OdInt32 col, const OdDbObjectId& idDataLink, bool bUpdate);
Parameters 
Description 
OdInt32 row 
[in] Row index of the cell.  
OdInt32 col 
[in] Column index of the cell.  
const OdDbObjectId& idDataLink 
[in] Data link object ID.  
bool bUpdate 
[in] Flag that indicates whether or not the data link should be updated after setting. 

Sets the data link (OdDbDataLink) for the specified row and column. 

 

Method generates the eNotThatKindOfClass exception when idDataLink is not an OdDbDataLink object ID.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.