This documentation is archived and is not being maintained.

How to: Inspect and Modify an Object Instance

After creating an object instance and displaying it in the Object Test Bench, you can inspect and modify the object.

To inspect and modify an object instance

  1. Follow the procedures for creating an instance in the Object Test Bench tool window. See How to: Create and Display an Instance of an Object.

  2. To display an object's members, select the object and hover the mouse pointer over the object instance shape in the Object Test Bench. The members appear in a DataTip.

  3. To modify an object, select the object and hover to display its details in a DataTip. Navigate through the object's members and select the members to modify. See Viewing Data in the Debugger for more information about DataTips.

To inspect and modify an object returned by a method call

  1. Follow the procedures for calling a method. See How to: Call a Method from Object Test Bench.

  2. In the Method Call Result Message Box, select Add to Object Test Bench as, and supply the object's name.

  3. Select the new object in the Object Test Bench and hover the mouse pointer over the selected object to display the data tip containing information about the object.

Show: