簡體   English   中英

使用sandcastle將示例代碼放在文檔中

[英]put example code in documentation by using sandcastle

我正在使用sandcastle幫助文件構建器從我的c#代碼的xml注釋中生成文檔文件。 你知道如何將代碼示例包含在幫助文件中,如msdn樣式嗎?

你試過<example><code>標簽了嗎? 它應該做你想要的。

<summary> ... </summary>
<example>This is a code example:
  <code> ... </code>
</example>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM