COleDocObjectItem::Release

Releases the connection to an OLE linked item and closes it if it was open. Does not destroy the client 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.

Does not destroy the client item.

Header: afxole.h

Show: