List of C # bullets in the PARAM section of the code documentation

For a function parameter, I want to use the parameter list in the code documentation. This <summary>is not a problem for the tag ( MSDN Summary List ). But how can I make a list of tags for a tag <param>? The example below does not create a list in the quick view during programming:

<param name="Type list">
<list type= "bullet">
<item><description>Item description</description></item>
</list>
</param>
+4
source share
1 answer

This works great.

I tried this code:

public class Program
{
    /// <summary>The summary</summary>
    /// <param name="args">
    /// The command-line arguments.
    /// <list type="bullet">
    /// <item><description>Item 1</description></item>
    /// <item><description>Item 2</description></item>
    /// <item><description>Item 3</description></item>
    /// </list>
    /// </param>

    public static void Main(string[] args)
    {
    }
}

Then I used Sandcastle to create a help file that looks like this:

Output documentation

As you can see, the bulleted list is displayed correctly for the parameter.

Here's how Resharper shows a tooltip:

Resharper shows a bulleted list

+6
source

All Articles