API Reference > OdDg Classes > OdDgIdPair Class > OdDgIdPair Methods > OdDgIdPair::set Method
OdDgIdPair::set Method
Syntax
C++
OdDgIdPair& set(const OdDgElementId& key, const OdDgElementId& value, bool cloned = false, bool ownerXlated = true, bool bPrimary = true);
Parameters 
Description 
const OdDgElementId& key 
[in] Element ID to use as key.  
const OdDgElementId& value 
[in] Element ID to use as Value.  
bool cloned = false 
[in] Key element has been cloned.  
bool ownerXlated = true 
[in] Owner of key element has been translated.  
bool bPrimary = true 
[in] Value element is primary. 

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

 

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