共用方式為


CDocument::ClearPathName

Clears the path of the document object.

virtual void ClearPathName();

Remarks

Clearing the path from a CDocument object causes the application to prompt the user when the document is next saved. This makes a Save command behave like a Save As command.

Requirements

Header: afxwin.h

See Also

Reference

CDocument Class

Hierarchy Chart