[英]XML comment with reference to file
我想將對文件的引用添加到類的xml注釋中。 我可以這樣做:
/// <summary>
/// Condition with the content of the text <a href="file:///d:/a.jpg">file</a>
/// </summary>
如何使用文件的相對路徑?
在沙堡中,路徑相對於工作文件夾(在設置中設置的輸出路徑下的.\\Working
文件夾)。 要指定相對於您的項目的路徑,請在其{@ProjectFolder}
加上{@ProjectFolder}
。 例如:
<a href="{@ProjectFolder}/a.jpg">File</a>
您可以在此處找到此類替換標簽的完整列表:
您是否知道可以在文檔標簽中用href
替換cref
:
<see href="http://www.example.com/">Example</see>
<seealso href="http://www.example.com/">Example</seealso>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.