CDataRecoveryHandler::GetDocumentListName

CDocument 对象检索文档名称。

virtual CString GetDocumentListName(
   CDocument *pDocument
) const;

参数

Parameter

说明

[in] pDocument

CDocument的指针。 GetDocumentListName 从此 CDocument检索文档名称。

返回值

从 pDocument的文档名称。

备注

CDataRecoveryHandler 使用文档名作为键。m_mapDocNameToAutosaveNamem_mapDocNameToDocumentPtrm_mapDocNameToRestoreBool。 这些参数使 CDataRecoveryHandler 监视 CDocument 对象、自动存储文件名和自动存储设置。

要求

标头: afxdatarecovery.h

请参见

参考

CDataRecoveryHandler选件类

层次结构图

CDocument选件类