Since this article is titled "XML Documentation Sample", it's fair for one to expect to easily find a decent SAMPLE that demonstrates the use of XML in source code as well as how to actually cause documentation to be produced from the XML that one inserts in her/his source code. The links on *this* page are far too generic.
MORE INFORMATION
---------------------------
The tutorial "XML Documentation Tutorial" is useful (http://msdn.microsoft.com/en-us/library/aa288481.aspx).
{The path to this deeply buried article is:
-- MSDN, MSDN Library, Development Tools and Languages, Visual Studio .NET,
Visual Basic and Visual C#, Reference,
Visual C# Language, C# Programmer's Reference, C# Tutorials,
XML Documentation Tutorial}
Note: if you type "///", space, "less than symbol", you'll see some Intellisense for eight of the tags from
http://msdn.microsoft.com/en-ca/library/5ast78ax.aspx
"Recommended Tags for Documentation Comments (C# Programming Guide)"
Note also: if you type "///", space, "less than symbol", you can type any tag;
just type a tag as you normally would, e.g.: "less than symbol", text, "greater than symbol":
/// <returns>
/// <gerry>
Intellisense will automatically complete the closing tag:
/// <returns></returns>
/// <gerry></gerry>
You will likely want to use the "Recommended Tags" (see above link).
I have started using Sandcastle to build a compiled help (.chm) file.
Sandcastle - Documentation Compiler for Managed Class Libraries
-- http://www.codeplex.com/Sandcastle
"Sandcastle produces accurate, MSDN style, comprehensive documentation
by reflecting over the source assemblies and optionally integrating XML Documentation Comments"
-- http://www.codeplex.com/Sandcastle/Release/ProjectReleases.aspx?ReleaseId=13873
Sandcastle is not working as expected, possibly my error. More on this later when I understand Sandcastle better.
Regards, Gerry (Lowry)
References:
Using IntelliSense: http://msdn.microsoft.com/en-us/library/hcw1s69b.aspx
Processing the XML File (C# Programming Guide): http://msdn.microsoft.com/en-us/library/fsbx0t7x.aspx
/doc (Process Documentation Comments) (C# Compiler Options): http://msdn.microsoft.com/en-us/library/3260k4x7.aspx
XML Documentation Comments (C# Programming Guide): http://msdn.microsoft.com/en-us/library/b2s063f7.aspx