Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

NoteNote:

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft