COleClientItem::Release

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

virtual void Release(
   OLECLOSE dwCloseOption = OLECLOSE_NOSAVE 
);

Parameters

  • 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.

Remarks

Release is called by the COleClientItem destructor.

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

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::Close

COleClientItem::Delete

Other Resources

COleClientItem Members