Create Instance Dialog Box

Use this dialog box to create an instance of an object and display its shape in the Object Test Bench Tool Window.

You can create an instance of a non-abstract class that is declared in the current solution or in a referenced assembly.

Note

You cannot instantiate and display abstract classes, or delegates, using the Object Test Bench. You can instantiate these class types using the Command window or the Immediate window; however, the Object Test Bench does not display them.

  • Method Signature
    The object's full instantiation signature, including any parameters. The parameter type is highlighted when its corresponding Parameter list box is selected.

  • Instance Name
    The name of the object instance. This value is not provided by default.

  • Parameter
    If the object has parameters, the Create Instance dialog box displays a box for each parameter. Provide the correctly typed parameter value, or select one from the drop-down list.

See Also

Other Resources

Object Test Bench

Create and Display Object Test Bench Objects