共用方式為


IResponse::BinaryWrite

The IResponse::BinaryWrite method writes data to the HTTP output without converting Unicode characters to ANSI. For more information, see the Response.BinaryWrite method of the Response object.

HRESULT BinaryWrite(
      VARIANT varBuffer
);

Parameters

  • varBuffer
    [in] Contains the data as a SafeArray.

Remarks

This method writes the specified information to the current HTTP output without any character conversion. This method is useful for writing nonstring information, such as binary data, required by a custom application.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also