Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
virtual CString GetFilePath( ) const;
Return Value
The full path of the specified file.
Remarks
Call this member function to retrieve the full path of a specified file. For example, when you call GetFilePath to generate a message to the user about the file c:\windows\write\myfile.wri, the file path, c:\windows\write\myfile.wri, is returned.
To return just the name of the file (myfile.wri), call GetFileName. To return the title of the file (myfile), call GetFileTitle.
Example
See the example for GetFileName.
CFile Overview | Class Members | Hierarchy Chart
See Also CFile::SetFilePath, CFile::GetFileTitle, CFile::GetFileName