An IEnumerator, for use of a ZipFile in a foreach construct.

C# | Visual Basic | Visual C++ |
public IEnumerator GetNewEnum()
Public Function GetNewEnum As IEnumerator
public: IEnumerator^ GetNewEnum()

The IEnumerator over the entries in the ZipFile.

This method is included for COM support. An application generally does not call
this method directly. It is called implicitly by COM clients when enumerating
the entries in the ZipFile instance. In VBScript, this is done with a For Each
statement. In Javascript, this is done with new Enumerator(zipfile).