Returns the enumerator object for the error collection, so that items in the collection can be enumerated using the methods and properties of this interface. The newEnum property is implemented to support the enumeration of the error collection in Visual Basic For Each... In... Next constructions.
This property is used automatically in For Each... In... Next constructions.
HRESULT get_newEnum(
IUnknown **ppUnk);
This example uses a For Each... In... Next construction that implicitly calls the _newEnum property to iterate an error collection.
This example uses the same two resource files used in the allErrors example. The source code for the sample is in Visual Basic.
IXMLDOMParseErrorCollection Interface
MSXML 5.0 and later
To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button
in the upper-left corner of the page.
item Property | length Property | next Property | reset Method