Compartir a través de


CInternetFile::WriteString

This function writes a null-terminated string to the associated file.

virtual void WriteString( 
   LPCTSTR pstr  
);

Parameters

  • pstr
    A pointer to a string containing the contents to be written.

Remarks

If any error occurs while writing the data, the function throws a CInternetException object describing the error.

Exceptions

This method can throw exceptions of type CInternetException*.

Requirements

Header: afxinet.h

See Also

Reference

CInternetFile Class

Hierarchy Chart