December 2013
Beginner to intermediate
286 pages
5h 46m
English
XML documentation is useful when you want to autogenerate documentation for your code. If you just put the documentation directly in a triple-slash comment, the entire content will be a summary. The other possibility is to use specific XML tags to specify which type of documentation the specific text belongs to. Doing that enables you, as a programmer, to document the code in a more versatile way.
The following are some useful XML tags:
|
Tag |
Description |
|---|---|
|
|
Summary describes code that is commented on |
|
|
Specifies what's returned |
|
|
A remark or something to notice about the code |
|
|
Specifies exceptions that may be thrown from the code |
|
|
Enables you to link your ... |
Read now
Unlock full access