Results 1 to 5 of 5

Thread: Class Documentation

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2005
    Location
    Phoenix
    Posts
    24

    Class Documentation

    Hello all! For the first time, I've been asked to write some documentation on a class. Basically the design, properties, methods, etc... Has anyone ever had to do this before? I just need to type something up in MS Word. Can anyone help me get started on that? Thanks!

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Nov 2005
    Location
    Phoenix
    Posts
    24

    Re: Class Documentation

    I've attached what I've done so far, but fear that it isn't very good. ANY advice would be great. Thanks!
    Attached Files Attached Files

  3. #3
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: Class Documentation

    UML seems to be the best way to do it (as far as thoroughness and structure is concerned), but it's kind of a pain.

    http://www.uml.org/

  4. #4
    Fanatic Member
    Join Date
    May 2002
    Posts
    746

    Re: Class Documentation


  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Class Documentation

    NDoc is a good way to go, as Briantcva suggests. The functionality to create XML documentation is already built into VS. If you're using VB.NET 2003 then you'll need this plug-in to be able to have XML comment blocks built automatically, otherwise you just type three single quotes for VB or three slashes for C# and press Enter. The block is built for you and you just populate the tags. When you build your project an XML documentation file is created, which NDoc can then turn into a CHM help file. You can take a look at my ZIP CodeBank submission for an example of what it can do. If you take a look at the source you can see where all the information comes from. It's a good idea to read some MSDN topics to get a feel for how Microsoft write their documentation, then add your own flavour as desired.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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