Using the Members List

Home Page (Text Editor)OverviewHow Do I ... TopicsFAQReference

The Members list displays valid member variables or functions for the class or structure to the left of the insertion point. When invoked on a blank line, or outside of a recognizable scope, the Members list displays globals.

To use the Members list

  1. Type your class or structure declaration, then type "." or "->". Or, simply type the class name and the scope operator (::).

    Visual C++ displays all valid members in a scrollable list. For example:

    You can scroll or arrow through the list, or, if you know the first few letters of the member name, simply begin typing to jump directly to the member in the list. If you type a word that is not in the list, you will be taken to the nearest match.

  2. To insert the selected member in your code, do one of the following:
  3. Press ESC at any time to dismiss the Members list.

To view globals

For more information about the contents of the Members list, see Icons in the Members List.