Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

COleClientItem::Release

 

Call this function to clean up resources used by the OLE item.


      virtual void Release(
   OLECLOSE dwCloseOption = OLECLOSE_NOSAVE 
);

dwCloseOption

Flag specifying under what circumstances the OLE item is saved when it returns to the loaded state. For a list of possible values, see COleClientItem::Close.

Release is called by the COleClientItem destructor.

For more information, see IUnknown::Release in the Windows SDK.

Requirements

Header: afxole.h

Show: