This documentation is archived and is not being maintained.

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.

See Also

CDocTemplate Overview | Class Members | Hierarchy Chart | CDocTemplate::AddDocument | CMultiDocTemplate | CSingleDocTemplate

Show: