开发者

Multiple language examples in XML Documentation

开发者 https://www.devze.com 2022-12-31 17:16 出处:网络
Is there a way to include examples for multiple langu开发者_JAVA技巧ages (C# and Visual Basic, for example) in XML documentation?

Is there a way to include examples for multiple langu开发者_JAVA技巧ages (C# and Visual Basic, for example) in XML documentation?

I'm using SandCastle to build MSDN-style documentation and would like to include usage examples for a few .NET languages.


My examples are coded e.g. like this:

    /// <example>
    /// <code source="..\FormControls\FileModelEdit\Form1.cs" region="published help using openDocumentFragment" lang="cs" />
    /// </example>

I could presumably (although I don't) have several of these <code> elements, each with a different lang attribute value.

0

精彩评论

暂无评论...
验证码 换一张
取 消