Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Adding Description to Functions

Adding Description to Functions

Scheduled Pinned Locked Moved C#
csharpdotnethelptutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    freshonlineMax
    wrote on last edited by
    #1

    Hello! I want to add description to my functions that users who uses them can know what's its work, Like .Net framework functions. For an example when we type MessageBox instruction we see some descriptions about that. Please if you know about this Help Me. Thank You. -- modified at 1:42 Saturday 19th November, 2005

    C S C 3 Replies Last reply
    0
    • F freshonlineMax

      Hello! I want to add description to my functions that users who uses them can know what's its work, Like .Net framework functions. For an example when we type MessageBox instruction we see some descriptions about that. Please if you know about this Help Me. Thank You. -- modified at 1:42 Saturday 19th November, 2005

      C Offline
      C Offline
      Calvinix
      wrote on last edited by
      #2

      just type /// above the function name and type the comment there . i havent used it , but i heard one of my colleagues mention it a day ago..You can always try :-D

      1 Reply Last reply
      0
      • F freshonlineMax

        Hello! I want to add description to my functions that users who uses them can know what's its work, Like .Net framework functions. For an example when we type MessageBox instruction we see some descriptions about that. Please if you know about this Help Me. Thank You. -- modified at 1:42 Saturday 19th November, 2005

        S Offline
        S Offline
        Stefan Troschuetz
        wrote on last edited by
        #3

        Take a look at the following links: XML documentation on MSDN[^] NDoc Code Documentation Generator for .NET[^]


        www.troschuetz.de

        1 Reply Last reply
        0
        • F freshonlineMax

          Hello! I want to add description to my functions that users who uses them can know what's its work, Like .Net framework functions. For an example when we type MessageBox instruction we see some descriptions about that. Please if you know about this Help Me. Thank You. -- modified at 1:42 Saturday 19th November, 2005

          C Offline
          C Offline
          Curtis Schlak
          wrote on last edited by
          #4

          Note, when filling out your documentation, only the information contained in the <summary> and <param> tags get put in the IntelliSense tooltips.

          /// <summary>
          /// When searching for the function, in the IntelliSense,
          /// this summary gets shown
          /// </summary>
          /// <param name="param1">
          /// When filling out the function's parameter list, this
          /// information gets shown for param1
          /// </param>
          /// <param name="param2">
          /// When filling out the function's parameter list, this
          /// information gets shown for param2
          /// </param>

          "we must lose precision to make significant
          statements about complex systems."
          -deKorvin on uncertainty

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups