NUnitForms Class Library

FormFinder.Find Method 

Finds one form with the specified name.

[Visual Basic]
Public Function Find( _
   ByVal name As String _
) As Form
public Form Find(
   string name


The name of the form to search for.

Return Value

The form it finds.


Exception TypeCondition
NoSuchControlException Thrown if there are no forms with the specified name.
AmbiguousNameException Thrown if there is more than one form with the specified name.

See Also

FormFinder Class | NUnit.Extensions.Forms Namespace