API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::downgradeOpen Method
OdDgElement::downgradeOpen Method
Syntax
C++
void downgradeOpen();

Downgrades this object from OdDg::kForWrite to OdDg::kForRead, and returns isReadEnabled();

Any pending changes to this object are committed to the database.

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