Поделиться через


CFileFind::GetFileURL

Call this member function to retrieve the specified URL.

virtual CString GetFileURL( ) const;

Возвращаемое значение

The complete URL.

Заметки

You must call FindNextFile at least once before calling GetFileURL.

GetFileURL is similar to the member function GetFilePath, except that it returns the URL in the form file://path. For example, calling GetFileURL to get the complete URL for myfile.txt returns the URL file://c:\myhtml\myfile.txt.

Пример

See the example for CFileFind::GetFileName.

Требования

Header: afx.h

См. также

Основные понятия

CFileFind Class

CFileFind Members

Hierarchy Chart

CFileFind::FindFile