Udostępnij za pośrednictwem


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

Reference

CDocTemplate Class

Hierarchy Chart

CDocTemplate::AddDocument

CMultiDocTemplate Class

CSingleDocTemplate Class

Other Resources

CDocTemplate Members