Supplying XML Code Comments

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

You can make the comments in source code files available as IntelliSense. When you add the /doc switch to the Visual Basic, C#, or C++ compiler command line, an .xml file is generated that serves as the basis for IntelliSense documentation.

For more information about documenting code in Visual Basic, see How to: Create XML Documentation.

For more information about documenting code in C#, see XML Documentation Comments.

For more information about documenting code in C++, see Comments and XML Documentation.

See Also

Using IntelliSense