11 vb.net intellisense xml-comments visual-studio-2008 visual-studio
我试图让VB.NET XML注释与IntelliSense一起工作,也许它不像我认为的那样工作.
''' <summary>
''' Gets or sets the Patient Code.
''' <list type="bullet">
''' <listheader><description>Validation:</description></listheader>
''' <item><description>Field Required</description></item>
''' <item><description>Field Max Length: 25</description></item>
''' </list>
''' </summary>
''' <value>The region reference key.</value>
Run Code Online (Sandbox Code Playgroud)
当你输入一个函数时,这应该显示"获取或设置患者代码"然后在它下面,它应该显示一个带有"验证:"作为标题的项目符号项列表?
替代文字http://www.codejames.com/errored.jpg
也许我做错了,但它似乎没有正常工作.
你没有错误地做到这一点,它只是不受支持.虽然HTML标记可能出现在某些工具的输出中,但IntelliSense不是其中之一.
IntelliSense是Visual Studio 2008中的文本显示,我们不支持显示许多/大多数标记,因为它们应出现在HTML样式显示中.相反,我们倾向于删除不支持的标记标记并显示生成的文本.