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 in Visual Basic.

For more information about documenting code in C#, see XML Documentation Comments (C# Programming Guide).

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft