How to add Descriptions to properties and functions?
I am trying to add some comments to my class properties and functions that will show in Visual Studio when I hover over a function name on the intellisense menues.
public string DomainName
{
get
{
return DomainName_;
}
}
Lets say I have the above property for a class, is it possible for me to add a description where the description shows up during the intellisense menus?
Thanks!
Re: How to add Descriptions to properties and functions?
In the blank line directly above "public string DomainName" just type three forward slashes (no spaces between) and Visual Studio will have you off and running.
Re: How to add Descriptions to properties and functions?
Quote:
Originally Posted by
zips
In the blank line directly above "public string DomainName" just type three forward slashes (no spaces between) and Visual Studio will have you off and running.
Thanks much!
Re: How to add Descriptions to properties and functions?
Don't forget to enable it by checking and filling "XML documentation file" on bottom of "Build" page of "Project Properties".
Re: How to add Descriptions to properties and functions?