Supplying XML Code Comments

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Supplying XML Code Comments.

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 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.

Using IntelliSense

Show: