Microsoft XML 2.5 SDK


 

IXMLDOMDocument::put_async Method

[This is preliminary documentation and subject to change.]

Use to select asynchronous or synchronous download. When set to True (the default setting), the load method returns control to the caller before the download is finished. You can then use the readyState property to check the status of the download. You can also attach an onreadystatechange handler or connect to the onreadystatechange event to be notified when the ready state changes so that you know when the download is complete.

Visual Basic Syntax

objXMLDOMDocument.async = boolValue

C/C++ Syntax

HRESULT put_async(

    VARIANT_BOOL isAsync);

Parameters

isAsync

[out]
True if asynchronous download is permitted, or false if not.

C/C++ Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This member is an extension of the W3C DOM.