Intellisense XML Comment Tooltip

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Infog
    New Member
    • Dec 2008
    • 36

    Intellisense XML Comment Tooltip

    I have read that it is possible, but how do I use them in VS2008? I would like to start commenting class's commands and properties, but I can't find how to.

    The home for technical questions and answers at Microsoft. Get started asking, answering, and browsing questions about products like .Net, Azure, or Teams.
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    C# like this. VB shouldn't be much different

    Create your method as usual.
    Then go one line before the method and type 3 slashes ///
    Visual Studio 2008 will pre-fill a summary block for you. Just type in your description between the <summary> </summary> blocks.

    There are a lot of tags inside that possible. Just type a < to have Intellisence bring up a list.

    In C# it looks like this
    [IMGNOTHUMB]http://files.me.com/tlhintoq/4ydd5f[/IMGNOTHUMB]

    Comment

    Working...