Share via


responseBody Property (IXMLHTTPRequest) (Windows Embedded CE 6.0)

1/6/2010

Represents only one of several forms in which the HTTP response can be returned.

Script Syntax

            strValue = oXMLHttpRequest.responseBody;

Remarks

Ee502046.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee502046.collapse(en-US,WinEmbedded.60).gifScript Return Value

Variant. Response entity body as an array of unsigned bytes.

Ee502046.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT get_responseBody(
  VARIANT* pvarBody
);

Remarks

Ee502046.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

  • pvarBody
    [out, retval] Response entity body as an array of unsigned bytes.

Ee502046.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • E_PENDING
    Value returned if the data is unavailable.

Ee502046.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

Represents the response entity body as an array of unsigned bytes, namely a SAFEARRAY of type VT_ARRAY | VT_UI1. This contains the raw undecoded bytes as received directly from the server. Therefore, depending on what the server sent, this may appear as binary-encoded data (UTF-8, UCS-2, UCS-4, Shift_JIS, and so on).

The property is read-only, and applies to the following interface:

IXMLHTTPRequest

See Also

Reference

XML HTTP Properties

Concepts

responseText Property (IXMLHTTPRequest)
responseXML Property (IXMLHTTPRequest)

Other Resources