NUnitForms Class Library

AmbiguousNameException Class

Exception is thrown when there is more than one control with the specified name.

For a list of all members of this type, see AmbiguousNameException Members.


[Visual Basic]
Public Class AmbiguousNameException
Inherits Exception
public class AmbiguousNameException : Exception


You should qualify the name according to the name property of the parent control in a dot-delimited string.

If you have multiple dynamic controls with the same name, consider giving them unique names or else access them using the indexer property on each ControlTester.


grandparent.parent.child is a valid name string.. You can use the shortest name string that uniquely identifies a control.


Namespace: NUnit.Extensions.Forms

Assembly: NUnitForms (in NUnitForms.dll)

See Also

AmbiguousNameException Members | NUnit.Extensions.Forms Namespace