Export (0) Print
Expand All
Expand Minimize

COleClientItem::Delete

Call this function to delete the OLE item from the container document.

void Delete( 
   BOOL bAutoDelete = TRUE  
);

bAutoDelete

Specifies whether the item is to be removed from the document.

This function calls the Release member function, which in turn deletes the C++ object for the item, permanently removing the OLE item from the document. If the OLE item is embedded, the native data for the item is deleted. It always closes a running server; therefore, if the item is an open link, this function closes it.

Header: afxole.h

Show:
© 2015 Microsoft