After calling a method in the Object Test Bench tool window using the Invoke Method Dialog Box, the Method Call Result dialog box is displayed. This dialog box displays the results of the call, including a return value.
How to: Call a Method from Object Test Bench
The name of the called method, including the parameter values.
The value and type returned from the method call.
If an error results, the error is listed here.
If the return value is an object, its name appears in the Object Name text box.
In J#, you cannot add a primitive type to the Object Test Bench.
The object returned, or the name assigned to the returned value, which you can add to the Object Test Bench.