C++
~AcAxObjectRef();
Description
Default destructor.
The destructor deletes the referenced object if the AcAxObjectRef instance contains a reference to a non-database-resident object. To prevent this behavior, applications should call the release() method to obtain a pointer to the referenced object before the AcAxObjectRef is destroyed.
The AcAxObjectRef destructor has no effect on database-resident objects.