Implementing XML Comments

XML comments have a double purpose. The first one is enabling additional help within IntelliSense when you write code. The second one is generating an XML file storing information that can be built into a compiled documentation file, such as the .chm format that also enables navigation between documented items. In this section, you learn to implement XML comments and learn the various tags and why they are important, although in some cases they might not seem to be. Before implementing comments, create a new Console application and implement a Person class as follows:

Public Class Person    Public Overridable Property FirstName As String    Public Overridable Property LastName As String ...

Get Visual Basic 2015 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.