Condividi tramite


CDataRecoveryHandler::GetDocumentListName

Retrieves the document name from a CDocument object.

virtual CString GetDocumentListName(
   CDocument *pDocument
) const;

Parameters

Parameter

Description

[in] pDocument

A pointer to a CDocument. GetDocumentListName retrieves the document name from this CDocument.

Return Value

The document name from pDocument.

Remarks

The CDataRecoveryHandler uses the document name as the key in m_mapDocNameToAutosaveName, m_mapDocNameToDocumentPtr, and m_mapDocNameToRestoreBool. These parameter enable the CDataRecoveryHandler to monitor CDocument objects, the autosave file name, and the autosave settings.

Requirements

Header: afxdatarecovery.h

See Also

Reference

CDataRecoveryHandler Class

Hierarchy Chart

CDocument Class