Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CAttribute / C++ Release - CXmlObjectBase
In This Topic
    C++ Release - CXmlObjectBase
    In This Topic
    void Release()
      Property Description  
        Method Name Release  
        Description Releases the reference to the object (if its the last reference the object is deleted)  
        Remarks All Liquid technologies XML objects are reference counted. Anything using the object should take a reference to it. When they are finished with it the reference may be released.
    When the last reference is released the object is deleted.

    All objects within the Library should return 'smart pointers' that wrapper the object itself.
    These smart pointer behave the same as the MS _com_ptr_t. Allowing you use the objects without worrying about reference counting.


    See Smart Pointers for a full discussion of referencing, and object lifetimes.