C#XML代码注释以供文件参考 [英] c# xml code comment for file reference

查看:132
本文介绍了C#XML代码注释以供文件参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在xml代码注释中是否有用于文件引用的标签?该文件是一个sql脚本文件. 只是想知道是否有比这种更好的方法

Is there a tag for a file reference in a xml code comment? The file is a sql script file. Just wondering if there is a better way than something like this

///<summary>
///please have a look at c:\code\project1\sql\file1.sql
///</summary> 

推荐答案

您可以使用文件URI,这样可以在Visual Studio中将其单击:

You could use a file URI, this makes it clickable in visual studio:

file:///c:/code/project1/sql/file1.sql

这篇关于C#XML代码注释以供文件参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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