Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 XML 文档中包含多种语言(例如 C# 和 Visual Basic)的示例?
我正在使用 SandCastle 构建 MSDN 样式的文档,并希望包含一些 .NET 语言的使用示例。
我的示例编码如下:
/// <example> /// <code source="..\FormControls\FileModelEdit\Form1.cs" region="published help using openDocumentFragment" lang="cs" /> /// </example>
我大概可以(尽管我没有)有几个这样的<code>元素,每个元素都有不同的lang属性值。
<code>
lang