CDocument::GetPathName

Call this function to get the fully qualified path of the document's disk file.

const CString& GetPathName( ) const;

Return Value

The document's fully qualified path. This string is empty if the document has not been saved or does not have a disk file associated with it.

Requirements

Header: afxwin.h

See Also

Concepts

CDocument Class

CDocument Members

Hierarchy Chart

CDocument::SetPathName