Contains the body of the response returned by the server.
HRESULT IHTMLXDomainRequest::get_responseText(BSTR *p);
- Pointer to a variable of type BSTR that receives the text received from the server.
Returns S_OK if successful, or an error value otherwise.
In the time after the onprogress event is raised and before the onload event is raised, responseText contains either a partial response or the complete server response.
The responseText value is an empty (zero-length) string in three cases:
- before the onprogress event is raised
- after the onprogress event is raised and before the first character has been received
- after the onload event is raised and the server has returned an empty string as a response
For an example of how this property is used, see Introducing Cross-domain Request.