API Reference > OdDb Classes > OdDbDictionary Class > OdDbDictionary Methods > OdDbDictionary::setTreatElementsAsHard Method
OdDbDictionary::setTreatElementsAsHard Method
Syntax
C++
void setTreatElementsAsHard(bool doIt);
Parameters 
Description 
hard 
[in] Controls ownership. 

Sets the hard ownership property for this Dictionary object. 

 

Hard ownership protects the elements from purge. Soft ownership does not.

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