采用看到以&lt CREF; &GT;在XML文档的字符? [英] using see cref with < > characters in XML Documentation?
本文介绍了采用看到以&lt CREF; &GT;在XML文档的字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
<一href="http://stackoverflow.com/questions/532166/how-to-reference-generic-classes-and-methods-in-xml-documentation">How引用泛型类和方法在XML文档
我一直在使用的看到CREF的标签,它的伟大工程,但现在我需要包括的String []在看到CREF一个通用的列表,但文档不正确呈现。
///&LT;返回&gt;在&LT;见CREF =名单,其中,字符串[]&gt;中/&GT;那 .......
我presume的事做的&lt;和>也许[]
这是允许的,是有一个变通?
解决方案
///&LT;返回&GT; A&LT;见CREF =列表【T】/&GT;这与LT; /回报&GT;
Possible Duplicate:
How to reference generic classes and methods in xml documentation
i have been using the see cref tag and it works great but now i need to include a generic list of string[] in the see cref but the documentation doesn't correctly render.
/// <returns>A <see cref="List<string[]>" /> that .......
I presume its something to do with the < and > and maybe []
Is this allowed, is there a work around?
解决方案
/// <returns>A <see cref="List{T}" /> that</returns>
这篇关于采用看到以&lt CREF; &GT;在XML文档的字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文