This documentation is archived and is not being maintained.

NewEnum property was commented out

Visual Studio .NET 2003

In Visual Basic 6.0, collection classes created using the Class Builder add-in included a NewEnum property that allowed you to enumerate the collection using For...Each syntax.

Collections in Visual Basic .NET support enumeration through the System.Collections.IEnumerator class; the NewEnum property is no longer needed.

What to do next

  • Remove the code for the NewEnum property that was commented out.
  • Review the code that was added by the upgrade tool.

See Also

Uncomment and change the following line to return the collection enumerator | System.Collections Namespace

Show: