Simple Question regarding Code Comments

Last post 05-13-2008 11:46 AM by mthiggins. 2 replies.

Sort Posts:

  • Simple Question regarding Code Comments

    05-06-2008, 2:32 PM
    • Loading...
    • mthiggins
    • Joined on 05-19-2006, 8:26 PM
    • Posts 22

     Hello, I have just started using the built in code comment snippet in VS2005. Something that I really liked about this is that what you type in the <summary> bracket will show up when you call your method. This works great if I am referencing a class which has methods with these code comments, however the <summary> comments do not not show up if I am calling a method from a web service object. Is there any way to make these show up when referencing a web service?

    Just to clarify, when I say "show up" I am referring to as you begin to type in the method you are calling, a pop-up box appears showing the method and its parameters, etc. The summary comments should also show up here.

    Thanks in advance.

  • Re: Simple Question regarding Code Comments

    05-09-2008, 2:08 AM
    Answer

    Hi,

    As far as I know, we cannot get the comments information of WebMethod when we call the web method from web services because web services is not assembly that is added to your project.

    You can try to create the XML Documentation Comments for your code so that the developer can use this documentation to know the comments information.

     

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Simple Question regarding Code Comments

    05-13-2008, 11:46 AM
    • Loading...
    • mthiggins
    • Joined on 05-19-2006, 8:26 PM
    • Posts 22

     Thanks a lot!

Page 1 of 1 (3 items)