CFileFind::GetFileURL

virtual CString GetFileURL( ) const;

Return Value

The complete URL.

Remarks

Call this member function to retrieve the specified 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.

Example

See the example for CFileFind::GetFileName.

CFileFind OverviewClass MembersHierarchy Chart

See Also   CFileFind::FindFile