Compartir a través de


ondataavailable Event (Windows CE 5.0)

Send Feedback

This event fires when new data is available.

Usage Syntax Platforms
Inline HTML <ELEMENTondataavailable = "handler" ... > All platforms
Event property object.ondataavailable = handler Microsoft® JScript® (compatible with ECMA 262 language specification) only
Named script <SCRIPT FOR = object EVENT = ondataavailable> Microsoft Internet Explorer only

[Script]

Script Syntax

oXMLDOMDocument.ondataavailable;

Script Parameters

None.

Script Return Value

None.

[C/C++]

C/C++ Syntax

HRESULT ondataavailable( void );

C/C++ Parameters

None.

C/C++ Return Values

S_OK is the value returned if the event is successful.

General Remarks

When handling asynchronous data, it is useful to be able to start processing in parallel with the download as soon as data becomes available. The readyState property defines several states that specify the current status of the asynchronous download.

The event handler for this event can be explicitly set using the ondataavailable property.

This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

General Remarks

This event applies to the following interface:

DOMDocument.

See Also

readyState Property | ondataavailable Property

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.