Compartilhar via


Code Comment Viewing (Windows CE 5.0)

Send Feedback

By default, any comments in the source code that use the // or /* delimiters are displayed next to their associated member in the Members list. As you traverse the list, IntelliSense displays up to 12 lines of the comment in a pop-up window next to the highlighted member:

When more than one comment exists for a function, IntelliSense determines which comment to display in the Members list by where it appears in the code. The following list shows the order in which IntelliSense makes this determination:

  1. The following code example shows the end-of-line comments that IntelliSense displays in the declaration.

    void MyFunction();    //EOL declaration comments
    
  2. The following code example shows comments that appear directly above the declaration with no blank space in-between that IntelliSense displays.

    //Before declaration comments
    void MyFunction();
    
  3. The following code example shows the end-of-line comments that IntelliSense displays in the definition.

    int CMyAppDoc::MyVariable=2; // EOL definition comments
    
  4. The following code example shows the comments that appear directly above the definition with no blank space in-between that IntelliSense displays.

    //Before definition comments
    CMyAppDoc::MyFunction() 
    {
      return; 
    }
    

See Also

Turning off the Automatic Display of Comments

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.