Freigeben über


Implementing the _NewEnum Property

The _NewEnum property identifies an object as supporting iteration through the IEnumVARIANT interface. This property has the following requirements:

  • Must be named _NewEnum and must not be localized.

  • Must return a pointer to the enumerator object's IUnknown interface.

  • Must include DISPID = DISPID_NEWENUM (-4).