共用方式為


IDebugDocumentTextEvents2::onDestroy

表示整個文件已終結。

語法

int onDestroy();

傳回值

如果成功,則會傳回 S_OK;否則,會傳回錯誤碼。

另請參閱