Share via


ISAXContentHandler::startDocument Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method receives notification of the beginning of a document.

Syntax

HRESULT startDocument();

Parameters

None.

Return Value

  • S_OK
    Returned if successful.
  • E_FAIL
    Returned if the parse operation should be aborted.

Remarks

The reader invokes the startDocument method only once. It is invoked before any other methods in the ISAXContentHandler interface or in the ISAXDTDHandler interface, with the exception of the putDocumentLocator method.

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ISAXContentHandler::endDocument Method
ISAXContentHandler