NUnitForms Class Library

MenuItemFinder.Find Method 

Finds the MenuItem.

[Visual Basic]
Public Function Find() As MenuItem
[C#]
public MenuItem Find();

Return Value

the MenuItem found by this MenuItemFinder.

Exceptions

Exception TypeCondition
NoSuchControlException Thrown if this MenuItem is not found.
AmbiguousNameException Thrown if multiple MenuItems are found with the same name.

See Also

MenuItemFinder Class | NUnit.Extensions.Forms Namespace