Po klepnutí budete moci zaslat hodnocení a názor
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual C#
C# Programming Guide

  Switch on low bandwidth view

We were unable to locate this content in cs-cz.

Here is the same content in en-us.

Tato stránka je určena pro produkt
Microsoft Visual Studio 2008/.NET Framework 3.5

K dispozici jsou také verze pro následující produkty:
C# Programming Guide
XML Documentation Comments (C# Programming Guide)

In Visual C# you can create documentation for your code by including XML tags in special comment fields in the source code directly before the code block they refer to. For example:

/// <summary>
///  This class performs an important function.
/// </summary>
public class MyClass{}

When you compile with /doc the compiler will search for all XML tags in the source code and create an XML documentation file. To create the final documentation based on the compiler-generated file, you can create a custom tool, or use a tool such as Sandcastle.

NoteNote:

The XML doc comments are not metadata; they are not included in the compiled assembly and therefore they are not accessible through reflection.

For more information, see the following sections in the C# Language Specification:

  • Appendix A Documentation Comments

Obsah vytvořený komunitou   Co je obsah vytvořený komunitou?
Přidat nový obsah RSS  Poslední změny:
Processing
© 2009 Microsoft Corporation. Všechna práva vyhrazena. Právní informace  |  Ochranné známky  |  Osobní údaje
Page view tracker