Indicates whether asynchronous download is permitted. 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.
Syntax
boolValue = oXMLDOMDocument.async
objXMLDOMDocument.async = boolValue
Remarks
Boolean. The property is read/write. Returns true if asynchronous download is permitted, or false if not. Default is true.
This member is an extension of the W3C DOM.
Example
The following VBScript example sets the async property of an XMLDOMDocument object to false before loading sample.xml:
Dim xmlDoc
xmlDoc.async = false
xmlDoc.load("sample.xml")
Applies To