Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Recommended XML Tags for Documentation Comments (Visual Basic)

The Visual Basic compiler can process documentation comments in your code to an XML file. You can use additional tools to process the XML file into documentation.

XML comments are allowed on code constructs such as types and type members. For partial types, only one part of the type can have XML comments, although there is no restriction on commenting its members.

NoteNote:

Documentation comments cannot be applied to namespaces. The reason is that one namespace can span several assemblies, and not all assemblies have to be loaded at the same time.

The compiler processes any tag that is valid XML. The following tags provide commonly used functionality in user documentation.

(1 The compiler verifies syntax.)

NoteNote:

If you want angle brackets to appear in the text of a documentation comment, use &lt; and &gt;. For example, the string "&lt;text in angle brackets&gt;" will appear as <text in angle brackets>.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.