次の方法で共有


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.

Script Syntax

var objErr = objIXMLDOMParseErrorCollection.next;  

Visual Basic Syntax

Set objErr = objIXMLDOMParseErrorCollection.next;  

C/C++ Syntax Using Smart Pointers

IXMLDOMParseError2Ptr objErr = objIXMLDOMParseErrorCollection->next;  

C/C++ Syntax

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.

Example

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.

Versioning

Implemented in: MSXML 6.0

Applies to

IXMLDOMParseErrorCollection