Udostępnij za pośrednictwem


How to: Display Definitions for Code Elements

Use this procedure to display the code that defines a code element that you select.

Note

The Code Definition Window is not supported in Visual Basic applications; therefore, it does not display the definition of Visual Basic symbols that are selected in the Code Editor, Class View, or the Object Browser.

To display code definitions in the Code Definition Window

  1. On the View menu, click Code Definition Window.

  2. In Class View, expand a namespace in the Objects pane and then select a symbol, such as a class or enum, in the list. You can also select items in the Members pane, such as variables and functions.

    —or—

    In Object Browser, expand a namespace in the Objects pane and then select a symbol, such as a class or enum, in the list. You can also select items in the Members pane, such as variables and functions.

    Note

    You can also display code definitions located in the Code Editor.

  3. In the Code Definition Window, expand the regions to view the code associated with the item you selected.

See Also

Reference

Code Definition Window