I've just started using /// <summary>
format comments so as to document my classes. I'm liking how professional it looks, but I'm a little confused about the <returns></returns>
block.
It doesn't actually seem to put anything I type there into intellisense. If a function returns a String
, I type "String"
into there or "DataSet"
if the function returns a DataSet
, but it never appears.
This is a sample of a comment I've currently got in the class. I tried to input the HTML literal values for < >
characters here. It didn't work, nor does it work just the word "List" in it...
/// <summary>
/// Get a list of users.
/// </summary>
/// <returns>returns List<User></returns>
This produces the following text in Intellisense:
[function information here including function name, return type and parameters]
Get a list of users.
What I'm looking for looks more like:
[function information here including function name, return type and parameters]
Get a list of users.
returns List<User>
So is there a native way to make this happen?