COleClientItem::Delete

voidDelete(BOOLbAutoDelete**=TRUE);**

Parameters

bAutoDelete

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

Remarks

Call this function to delete the OLE item from the container 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.

COleClientItem OverviewClass MembersHierarchy Chart

See Also   COleClientItem::Release