共用方式為


IRequest::BinaryRead

The IRequest::BinaryRead method retrieves the current Request object in a safe array.

HRESULT BinaryRead(
      VARIANT* pvarCountToRead,
      VARIANT* pvarReturn
);

Parameters

  • pvarCountToRead
    [out] [in] Points to a VARIANT that contains an integer value of the bytes to read.

  • pvarReturn
    [retval] [out] Points to a SafeArray that contains the bytes that were read by an HTTP Post.

Remarks

A SafeArray is an array that contains information about the number of dimensions and the bounds of its dimensions.

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