API Reference > OdDb Classes > OdDbIdPair Class > OdDbIdPair Methods > OdDbIdPair::set Method
OdDbIdPair::set Method
Syntax
C++
OdDbIdPair& set(const OdDbObjectId& key, const OdDbObjectId& value, bool cloned = false, bool ownerXlated = true, bool primary = false);
Parameters 
Description 
const OdDbObjectId& key 
[in] Object ID to use as key.  
const OdDbObjectId& value 
[in] Object ID to use as Value.  
bool cloned = false 
[in] Key object has been cloned.  
bool ownerXlated = true 
[in] Owner of key object has been translated. 

Sets the parameters for this IdPair object according to the arguments. 

 

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