Using XML Documentation in VB .NET 2.0
Until now, direct source code documentation was reserved for C# developers.
From now on, code comment functionality is supported directly in VB.Net 2.0.
That's really cool !
The comments have to start with the familiar comment character (') followed by an @ symbol to make sure that the compiler will recognize them.
Imports Microsoft.VisualBasic
'@ <summary>That's my little foo class</summary>
Public Class Foo
'@ <summary>These methods return the text passed as parameter</summary>
'@ <param name="Text">Text to be returned</param>
'@ <returns>Returns the string passed as
<paramref name="Text"/> parameter</returns>
Public Function ReturnMyText(ByVal Text As String) As String
Return Text
End Function
End Class