Compartilhar via


IXMLParser::GetParserState

4/8/2010

This method gets the current state of the parser.

Syntax

HRESULT GetParserState (void);

Parameters

None.

Return Value

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

Header xmlparser.h
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

IXMLParser
IXMLNodeSource::Abort
IXMLParser::Suspend
XML_PARSER_STATE