Freigeben über


_newEnum Property

 

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.

Visual Basic Syntax

This property is used automatically in For Each... In... Next constructions.

C/C++ Syntax

HRESULT get_newEnum(  
    IUnknown **ppUnk);  

Parameters

ppUnk[out,retval]
Pointer to an enumerator object for the error collection.

Return Values

S_OK
The enumerator object was retrieved successfully.

E_FAIL
The operation failed.

Versioning

Implemented in:

MSXML 6.0

Applies to

IXMLDOMParseErrorCollection

See Also

item Property
length Property (IXMLDOMParseErrorCollection)
next Property1
reset Method (IXMLDOMParseErrorCollection)