next Property1

 

[This sample code uses features that were first implemented in MSXML 5.0 for Microsoft Office Applications.]

Returns the next item in the error collection object.

var objErr = objIXMLDOMParseErrorCollection.next;  

Set objErr = objIXMLDOMParseErrorCollection.next;  

IXMLDOMParseError2Ptr objErr = objIXMLDOMParseErrorCollection->next;  

HRESULT get_next(IXMLDOMParseError2 **objErr);  

Parameters

objErr[out, retval]
A pointer to an IXMLDOMParseError2 object from the error collection.

Return Values

S_OK
The value returned if successful. The resultant objErr parameter returns a valid IXMLDOMParseError2 object.

E_FAIL
The value returned if the end of the list has been reached. The resultant objErr parameter is NULL.

This example uses the same two resource files used in the allErrors example. We've provided source files for the sample in two languages: JScript and C++. The output is the same in each language.

Implemented in: MSXML 6.0

IXMLDOMParseErrorCollection

Show: