共用方式為


CHttpFile::GetFileURL

Call this member function to get the name of the HTTP file as a URL.

virtual CString GetFileURL( ) const;

Return Value

A CString object containing a URL referencing the resource associated with this file.

Remarks

Use this member function only after a successful call to SendRequest or on a CHttpFile object successfully created by OpenURL.

Requirements

Header: afxinet.h

See Also

Concepts

CHttpFile Class

CHttpFile Members

Hierarchy Chart

CInternetFile Class