Export (0) Print
Expand All


[This feature was first implemented for MSXML 5.0 for Microsoft Office Applications.]

Returns a collection of parsing errors.

Use the allErrors property of the IXMLDOMParseError2 interface to access the IXMLDOMParseErrorCollection interface. Errors in this collection are in the same order in which they were found. The parseError object reported on the DOMDocument is also the first error object in this collection.

To use this interface, you must set the MultipleErrorMessages property on the DOM as shown in the following JScript code fragment:

objDom.setProperty("MultipleErrorMessages", true);


Returns the enumerator object for the error collection. This allows items in the collection to be enumerated in Visual Basic For Each... In... Next constructions. Read-only.


Returns the number of items in the error collection. Read-only.


Returns an item from the error collection with the specified index. The index starts at zero. Read-only


Returns the next item of the error collection. Read-only.


Resets the internal position to the start, so that the next method will return the first error in the collection.


msxml5.dll, msxml2.lib

Header and IDL files:

msxml2.h, msxml2.idl


Inherits from the IDispatch interface.

Implemented in:

MSXML 5.0 for Microsoft Office Applications and later

© 2014 Microsoft