Returns the data content of the ResBuf object as an OdDbObjectId instance.
Remarks
This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the ObjectId type. Only group codes kRtEntName and kDxfEnd store the object ID, other group codes associated with ObjectId, SoftPointerId, HardPointerId, SoftOwnershipId, HardOwnershipId types store the handle.