2017-07-07 18 views
0

我知道我可以使用<对/>创建多功能评论如何获得内嵌换行符像 n作为intelicense不段

/// <summary> 
/// updates the car scrolling.<para /> 
/// there are also colors 
/// <para />while clearall will remove all </summary> 
/// <param name="status">optional to add a new car </param> 
public void UpdateDrawing(int updatestatus = bgcar.color.none) 

,但这种行为的心不是像断行\ n它,而行为像双线制动器(\ n \ n)。有没有办法只有一个换行符。 所以的TextBlocks能为intellisence

+1

的可能的复制 - (HTTPS [C#中的XML多评论我究竟做错了什么?]://计算器。 com/questions/2547327/xml-multi-line-comments-in-c-sharp-what-am-i-doing-wrong) – mjwills

+0

'environment.newline'怎么办?你的意思是intellisense?它看起来像@mjwills是正确的那个链接 – someguy76

+0

阅读我的问题。 不是重复我试过

以及它被intellisense忽略。虽然会导致空行并且行为不像行内\ n也environment.newline不可用////commments中。 – user3800527

回答

0

创建试试这个:

/// <summary> 
/// <para>updates the car scrolling.</para> 
/// <para>there are also colors</para> 
/// <para>while clearall will remove all</para> 
/// </summary> 

Intellisense

+0

这是否帮助@ user3800527? – mjwills