Share via


IXMLParser::GetParserState

Send Feedback

This method gets the current state of the parser.

Syntax

HRESULT GetParserState (void);

Parameters

None.

Return Values

This method returns one of the values from the XML_PARSER_STATE enumeration indicating the state of the parser. See the XML_PARSER_STATE enumeration for more details.

If the parser found an error, this takes precedence over subsequent calls to IXMLNodeSource::Abort or IXMLParser::Suspend; the parser will still return XMLPARSER_ERROR in this case. Also, if parsing was aborted, this action takes precedence over IXMLParser::Suspend; the parser will still return XMLPARSER_STOPPED even though it is also suspended.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: xmlparser.h

See Also

IXMLParser | IXMLNodeSource::Abort | IXMLParser::Suspend | XML_PARSER_STATE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.