Liquid XML Data Binder 2019
C++ Release - CSmartPtr
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > CSmartPtr > C++ Release - CSmartPtr
void Release()
  Property Description  
    Method Name Release  
    Description Releases the underlying object.  
    Remarks This method can be used to prematuley discard the reference to the underlying object.
Calls release on the underlying object, and sets the reference to the object to NULL (other calls relying on a valid pointer to the object will then fail if called).
When the smart pointer goes out of scope and is deleted, no action is taken.
 
    Example