onreadystatechange Property (IXMLHTTPRequest) (Windows CE 5.0)
Specifies the event handler to be called when the readyState property changes. Note that onreadystatechange is designed for scripting environments and is not readily accessible in Microsoft® Visual Basic® or C++.
[Script]
Script Syntax
oXMLHttpRequest.onreadystatechange =funcMyHandler;
Script Parameters
None.
Script Return Value
None.
[C/C++]
C/C++ Syntax
HRESULT put_onreadystatechange(Idispatch* pReadyStateSink);
Parameters
- pReadyStateSink
[in] Name of the function that should be called when the readyState property value changes.
C/C++ Return Values
- S_OK
Value returned if successful.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
General Remarks
When using scripting languages, this property can be set in ways other than directly accessing the property through IXMLHTTPRequest. It can also be set using the onreadystatechange attribute of the <XML> tag, and the SCRIPT FOR... construct.
This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).
The property is write-only, and applies to the following interface:
See Also
Send Feedback on this topic to the authors