什么是XML标记&QUOT的含义;见"和" seealso"在C#在Visual Studio 2010? [英] What is the meaning of XML tags "see "and "seealso" in C# in Visual Studio 2010?

查看:143
本文介绍了什么是XML标记&QUOT的含义;见"和" seealso"在C#在Visual Studio 2010?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您在Visual Studio 2010中工作,并写在方法的注释,然后单击输入
Visual Studio 2010中,您可以创建看和又见XML注释。

When you work in Visual Studio 2010 and write a comment on a method and click enter Visual Studio 2010 allows you to create "see" and "see also" XML comments.

如果您在评论中键入看到并按下TAB那么它看起来像

If you type in comment "see" and press TAB then it looks like

/// <see cref=""/>
/// <seealso cref=""/> 



什么是它的意义在C#?

What is meaning of it in C#?

推荐答案

两者都是有编译器验证XML文档标记。

Both are XML documentation tags that are compiler verified.

<见方式> 是直接在文本放置链接

<see> is for placing links directly in the text.

< seealso> 是将请参见部分中的文本。

<seealso> is to place text in the "See Also" section.

看看它们是如何在的这个例子。

See how they are used in this example.

这篇关于什么是XML标记&QUOT的含义;见&QUOT;和&QUOT; seealso&QUOT;在C#在Visual Studio 2010?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆