Microsoft XML 2.5 SDK


 

IXMLDOMDocument::get_async Method

[This is preliminary documentation and subject to change.]

Indicates whether asynchronous or synchronous download is set. 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

boolValue = oXMLDOMDocument.async

C/C++ Syntax

HRESULT get_async(

    VARIANT_BOOL *isAsync);

Parameters

isAsync

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

C/C++ Return Values

S_OK

Value returned if successful.

E_INVALIDARG

Value returned if isAsync is null.

Remarks

This member is an extension of the W3C DOM.