问题
I'm trying to put newlines in my XML Comments in VB.Net. I've read two other posts about C#,
XML multiline comments in C# - what am I doing wrong?
Adding line breaks to comments for Intellisense
But the suggested <para>
or <br/>
tags don't work. This,
''' <summary>
''' <para>Line one</para><br />
''' <para>Line two</para><br />
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public Property Speed As Double
Still appears like this:
How can I make this work?
回答1:
As time goes by, bugs get fixed. This works now in Visual Studio 2015 Update 3:
(It might work in earlier versions as well, but I don't have them installed anymore.)
回答2:
Now its better to use VS 2012 which will do the same as it does in C#
来源:https://stackoverflow.com/questions/7070737/multiline-xml-comments-in-vb-net-and-visual-studio-intellisense