共用方式為


CInternetFile::Close

Closes a CInternetFile and frees any of its resources.

virtual void Close( );

Remarks

If the file was opened for writing, there is an implicit call to Flush to assure that all buffered data is written to the host. You should call Close when you are finished using a file.

Exceptions

This method can throw exceptions of type CInternetException*.

Requirements

Header: afxinet.h

See Also

Reference

CInternetFile Class

Hierarchy Chart