|
-
March 17th, 2009, 10:15 AM
#1
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!
-
March 17th, 2009, 10:33 AM
#2
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.
-
March 17th, 2009, 10:51 AM
#3
Re: How to add Descriptions to properties and functions?
 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!
-
March 18th, 2009, 03:19 AM
#4
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".
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
-
March 21st, 2009, 03:11 PM
#5
Re: How to add Descriptions to properties and functions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|