MenuItemCollection.GetEnumerator Method
Returns an enumerator that can iterate through the collection.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As MenuItemCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()
Return Value
Type: System.Collections.IEnumerator
A System.Collections.IEnumerator that you can use to iterate through the collection.