VB.NET和Visual Studio Intellisense中的多行XML注释

时间:2011-08-15 20:53:59

标签: vb.net visual-studio-2010 intellisense xml-comments

我正在尝试在VB.Net中的XML注释中添加换行符。我读过另外两篇关于C#的帖子,

XML multiline comments in C# - what am I doing wrong?

Adding line breaks to comments for Intellisense

但建议的<para><br/>标记不起作用。这个,

    ''' <summary>
    ''' <para>Line one</para><br />
    ''' <para>Line two</para><br />
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Speed As Double

仍然是这样的:

enter image description here

我该如何做到这一点?

2 个答案:

答案 0 :(得分:2)

随着时间的推移,错误得到修复。现在可以在Visual Studio 2015 Update 3中使用:

screenshot

(它可能也适用于早期版本,但我不再安装它们。)

答案 1 :(得分:-1)

现在最好使用VS 2012,它将与C#

中的相同

enter image description here