Cast to Type

This feature allows the user to cast the type of a variable to a particular type. The Cast to Type dialog helps you filter the type list based on a search pattern specified in the search textbox.

To cast a variable to a selected type:

  1. Open the Variables view, see Opening Variables view.
  2. Right-click a variable in the Variables view and choose Cast to Type from the shortcut menu.

    The Cast to Type dialog appears.

    Figure 1. Cast to Type dialog

    Cast to Type Dialog

  3. Specify a search pattern in the Search textbox.

    The matching types appear in the Matching Items listbox.

  4. Select a type from the Matching Items listbox.
  5. Click OK.