Gets or sets the method to handle the onload event.
HRESULT IHTMLXDomainRequest::get_onload(VARIANT p);HRESULT IHTMLXDomainRequest::put_onload(VARIANT v);
- VARIANT of type VT_DISPATCH that receives the event handler.
- VARIANT of type VT_DISPATCH that specifies the event handler.
Returns S_OK if successful, or an error value otherwise.
The onload event occurs when the object has been completly received from the server.
After the onload event has occured, IHTMLXDomainRequest::responseText contains the complete server response.