Partager via


getAllResponseHeaders Method (IXMLHTTPRequest) (Windows CE 5.0)

Send Feedback

Retrieves the values of all the HTTP headers.

[Script]

Script Syntax

strValue= oXMLHttpRequest.getAllResponseHeaders();

Script Parameters

None.

Script Return Value

String. Contains the resulting header information.

[C/C++]

C/C++ Syntax

HRESULT getAllResponseHeaders(BSTR* pbstrHeaders);

Parameters

  • pbstrHeaders
    [out, retval] Resulting header information.

C/C++ Return Values

  • S_OK
    Value returned if successful.
  • E_INVALIDARG
    Value returned if the input argument is NULL.
  • E_FAIL
    Value returned if an error occurs.
  • E_OUTOFMEMORY
    Value returned if available memory is insufficient.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

General Remarks

Each header name/value pair is separated by a combination carriage return/line feed character.

The results of this method are valid only after the send method has been successfully completed.

This method applies to the following interface:

IXMLHTTPRequest

See Also

getResponseHeader Method | setRequestHeader Method | send Method

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.