Xml.XMLDoc.TXMLDocument.AsyncLoadState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AsyncLoadState: Integer read GetAsyncLoadState;

C++

__property int AsyncLoadState = {read=GetAsyncLoadState, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLDocument

Description

Indicates the state of the DOM parser when it parses the XML document asynchronously.

Use AsyncLoadState to determine that status of the DOM parser when it is parsing an XML document asynchronously. AsyncLoadState is only meaningful when the value of ParseOptions is poAsyncLoad.

The value of AsyncLoadState is vendor-specific. That is, each DOM parser that loads and parses an XML document asynchronously supplies its own flags to indicate state information.

When the DOM vendor is MSXML, AsyncLoadState can have any of the following values:


Value Meaning

0

Uninitialized: The AsyncLoadState is not assigned. (Usually indicates that the parser has not tried to parse a document or it is not parsing the document asynchronously.)

1

Loading: The parser is currently parsing the structure of the XML document.

2

Loaded: The parser has finished reading and parsing the structure of the XML document, but the corresponding DOM interfaces are not yet available.

3

Interactive: The parser has parsed the structure of the XML document, the corresponding DOM interfaces are available, but the parser has not finished reading all the node values.

4

Complete: The parser has fully read and parsed the XML document.


See Also

Code Examples