共用方式為


CHttpFile::GetObject

Call this member function to get the name of the object associated with this CHttpFile.

CString GetObject( ) const;

Return Value

A CString object containing the name of the object.

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

Reference

CHttpFile Class

Hierarchy Chart

CInternetFile Class

Other Resources

CHttpFile Members