PDA

Click to See Complete Forum and Search --> : C# XML comments in VB.net?


Scott Penner
Dec 14th, 2001, 12:35 PM
Does VB.net have the capability of including XML comments like c#?

If not, why not? How hard can that be to add that to VB.net when it's already included in C#?

Cander
Dec 14th, 2001, 12:46 PM
whar do you mean XML comments?

Scott Penner
Dec 14th, 2001, 03:55 PM
If you type three backslashes, you can create an XML tags within the C# code. You can use this tag later to automatically document your code.

For instance you could have something like:
<author>Scott</author>
<module name>TestClass</module name>
<last modified>June 18</last modified>
blah blah blah...
Then turn this into HTML help etc. when the project is done.

But, I don't think this exists in VB.net

Joacim Andersson
Dec 16th, 2001, 11:52 PM
According to the MSDN library only the C# compiler in Visual Studio.Net supports this documentation comments feature.
BTW the documentation comment is three forward slashes not backslashes.

Best regards