Replaces this database -resident (DBRO) object with the specified non- database -resident (NDBRO) object, while retaining this object's elementId, handle, owner, and reactor list.
Parameters
Parameters
Description
pNewElement
[in] Pointer to the object with which to replace this object in the database.
Remarks
This object must be open OdDg::kForWrite.
The replacement object will opened OdDg::kForWrite, and must be closed.
It is up to the caller to delete the replaced (this) object.