Examples of multiple languages ​​in XML documentation

Is there a way to include examples for multiple languages ​​(e.g. C # and Visual Basic) in the XML documentation?

I am using SandCastle to create MSDN-style documentation and would like to include usage examples for several .NET languages.

+6
c # xmldocument sandcastle
source share
1 answer

My examples are encoded, for example. eg:

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

I could supposedly (although I don't know this) have several of these <code> elements, each of which has a different lang attribute value.

+6
source share

All Articles