共用方式為


COleServerDoc::NotifySaved

在使用者儲存伺服器文件後,請呼叫此函式。

void NotifySaved( );

備註

當使用者從檔案功能表中選擇 [儲存] 命令, NotifySaved 為您呼叫 OnSaveDocumentCOleServerDoc 的實作。 這個函式會告知此 OLE 系統 DLL,這些告知容器。 在容器應用程式會使用 MFC 程式庫, COleClientItemOnChange 呼叫成員函式。

需求

Header: afxole.h

請參閱

參考

COleServerDoc 類別

階層架構圖

COleServerDoc::NotifyChanged

COleServerDoc::NotifyClosed

COleClientItem::OnChange

CDocument::OnSaveDocument