NUnitForms Class Library

Finder.Name Method 

Finds the name of a Control or MenuItem.

[Visual Basic]
Public Function Name( _
   ByVal o As Object _
) As String
[C#]
public string Name(
   object o
);

Parameters

o
the Control or MenuItem

Return Value

The name of the Control or MenuItem

Remarks

Necessary only because Control and MenuItem don't have a shared base class.

See Also

Finder Class | NUnit.Extensions.Forms Namespace