Book a Demo

Author Topic: Adding notes to return type of a method  (Read 2096 times)

bradmcnutt

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Adding notes to return type of a method
« on: May 01, 2006, 02:51:48 pm »
I see how you can add notes to a method or to the params in a method but is there anyway to add notes to the return type of a method so that the <returns>...</returns> xml comment block is generated when you generate the code of your method?  Thanks in advance.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Adding notes to return type of a method
« Reply #1 on: May 01, 2006, 04:03:35 pm »
Guess: try using @returns as a tag in the method notes.

Create a simple class with a ///<remarks> doc item and reverse engineer it to see what I mean.  I dont know if it works for methods though.

hth
bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.