Adding comments to members

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is there an attribute available that allows comments to be added to
properties & other members of a class that you have created, (as in the ones
you see when you click a member in any class in the .Net library of classes).
If so, which namespace would it reside in?

Many thanks for any clues.
Ant
 
Are you talking about something like this?

/// <summary>
/// Gets or sets the name of this object
/// </summary>

If so, on the line before the property or class type /// and that will add a
summary tag as above where you can enter in you description.

-Joe
 
Hi Joe,

Thanks! I didn't realize the /// remarks were being added to the
intellisense.

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top