GetEnumerator Method

The GetEnumerator method of the MenuItemCollection class returns an enumerator that can iterate through the collection.

Return Value

A System.Collections.IEnumerator that you can use to iterate through the collection.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security