Replaces this database -resident (DBRO) object with the specified non- database -resident (NDBRO) object, while retaining this object's objectId, handle, owner, and reactor list.
Parameters
Parameters
Description
pNewObject
[in] Pointer to the object with which to replace this object in the database.
keepXData
[in] This object's XData will be retained if and only if keepXData is true.
keepExtDict
[in] This object's extension dictionary will be retained if and only if keepExtDict is true.
Remarks
This object must be open OdDb::kForWrite.
The replacement object will opened OdDb::kForWrite, and must be closed.
It is up to the caller to delete the replaced (this) object.