Results 1 to 4 of 4

Thread: C# XML comments in VB.net?

  1. #1

    Thread Starter
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327

    Question C# XML comments in VB.net?

    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#?
    -scott
    he he he

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    whar do you mean XML comments?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327
    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
    -scott
    he he he

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width