Partager via


CDocTemplate::RemoveDocument

Removes the document pointed to by pDoc from the list of documents associated with this template.

virtual void RemoveDocument(
   CDocument* pDoc 
);

Parameters

  • pDoc
    Pointer to the document to be removed.

Remarks

The derived classes CMultiDocTemplate and CSingleDocTemplate override this function. If you derive your own document-template class from CDocTemplate, your derived class must override this function.

Requirements

Header: afxwin.h

See Also

Concepts

CDocTemplate Class

CDocTemplate Members

Hierarchy Chart

CDocTemplate::AddDocument

CMultiDocTemplate Class

CSingleDocTemplate Class