List Members

The List Members feature functions in an identical fashion to Complete Word; for any given type or namespace, it displays a scrollable list of all valid member variables and functions specific to that type. To see the List Members function in action, perform the following steps in an open code editor window:

1. Type the name of a class. (Ctrl+Space gives you the IntelliSense window with possible class names.)

2. Type a period; this indicates to IntelliSense that you have finished with the type name and are now “scoped in” to that type’s members. The list of valid members is displayed.

3. Manually scroll through the list and select the desired member at this point, or, if you are well aware of the member you are trying to code, simply continue typing until IntelliSense has captured enough characters to select the member you are looking for.

4. Leverage Complete Word by pressing the Tab key to automatically insert the member into your line of code (thus saving you the typing effort).

This feature also operates in conjunction with Quick Info: as you select different members in the members list, a Quick Info pop-up is displayed for that member.

As noted earlier in our discussion of Complete Word, List Members can function in either standard or consume-first modes.


Note

IntelliSense maintains a record of the most frequently used (selected) members from the List Members and Complete Word functions. This record is used to help avoid displaying or selecting members that you have rarely, if ever, used for a given type.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset