Microsoft XML 2.5 SDK


 

IXMLDOMDocument::abort Method

[This is preliminary documentation and subject to change.]

Aborts an asynchronous download in progress.

Visual Basic Syntax

oXMLDOMDocument.abort

C/C++ Syntax

HRESULT abort(

    void

);

C/C++ Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This method stops download and parsing, and discards any portion of the XML tree already built. The IXMLDOMParseError interface indicates that the download was stopped.

If the readyState method has the value COMPLETED, no action is taken and the current document is unchanged.

This member is an extension of the W3C DOM.