API Reference > OdDb Classes > OdDbLinkedTableData Class > OdDbLinkedTableData Methods > setDataLink Method > OdDbLinkedTableData::setDataLink Method (OdInt32, OdInt32, OdDbObjectId&, bool)
OdDbLinkedTableData::setDataLink Method (OdInt32, OdInt32, OdDbObjectId&, bool)
Syntax
C++
virtual void setDataLink(OdInt32 nRow, OdInt32 nCol, const OdDbObjectId& idDataLink, bool bUpdate);
Parameters 
Description 
OdInt32 nRow 
[in] Row index of the cell.  
OdInt32 nCol 
[in] Column index of the cell.  
const OdDbObjectId& idDataLink 
[in] Data lin 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 in not an OdDbDataLink object ID.

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