put example code in documentation by using sandcastle

i'm generating documentation files from the xml comments of my c# code, by using sandcastle help file builder. do you know how to include code examples into the help file, like msdn style?


Did you try the <example> and <code> tags? It should do what you want.

<summary> ... </summary>
<example>This is a code example:
  <code> ... </code>
</example>
链接地址: http://www.djcxy.com/p/59594.html

上一篇: Sandcastle是否支持代码合同?

下一篇: 通过使用sandcastle将示例代码放在文档中