Chinese (People's Republic of China)  English  Français


Supinfo-Projects.com
Tous les projets des élèves ingénieurs de Supinfo



Projets
  Dernier Projet
  Les plus populaires
  Tous les Projets

311 Visiteurs
3168 Projets


My Supinfo-Projects

   Connectez-vous
   Créez un Compte


Synopsis

   269 Visites
   Note INTERNET : 10.6
    (3 Votants)
   0 Commentaires

   Lire l'article

Evaluez cet article

20
18
16
14
12
10
8
6
4
2
0


Commentez cet article

Auteur :

Email :

Votre commentaire :



 
2004 - Pérennisation
Document and comment c# codes with Visual Studio and XML
[10 mn de lecture - paru le 5/11/2004 1:50:40 PM - Public : Débutant]

Auteur

charve_dDavid CHARVET
Elève-Ingénieur Supinfo Paris
Promotion SUPINFO 2006

   Lui écrire
   Tous les projets de cet auteur
   Le mini-CV de cet auteur

2. Tags

2.1. Visual Studio

Under VS.net, you can add comments while pressing three time "/".



After this combinaison, parameters and summary tags are automatically added, others tags must be add by hand in the code.

 

2.2. List of tags

 

Tag

Description

<event>

Use this tag to declare events that are raised by a member

Syntax:

///<event cref="EventName">
///    
///</event>

<example>

Example of members use

<exception>

Declare exceptions that a class can throw

<include>

include another file

<overloads>

Specify overloads

Example:


///<overloads>Cette méthode a 2 surcharges</overloads>
///<summary>1ere surcharge</summary>
public void open() { ... }
///<summary>2eme surcharge</summary>
public void open(string str) { ... }
    

<param>

to describe the parameters for the method.

/// <param name="sender"></param>
 /// <param name="e"></param>

<permission>

permissions of a method

<remarks>

show a remark block

<returns>

to describe the return value.

<seealso>

add a link to another doc

syntax:

  • <seealso href="url">[label]</seealso>
  • <seealso cref="member">[label]</seealso>

<summary>

describe a member for a type

<value>

property of a param.

Block Tags

This tags are used in <param> and <remarks> sections.

Tag

Description

<code>

To indicate multiple lines as code

<list>

Add a list or a table

<para>

Delimits a text paragraph

Inline Tags

This tags are used in <para> blocks.

Tag

Description

<c>

to show code on 1 line (sur une ligne)

<paramref>

A reference to a parameter.

<see>

Reference to another member or type.

syntaxe :

  • <see href="url">[label]</see>
  • <see cref="member">[label]</see>

 



Articles de la même catégorie

 Pages : Top


187 Visites
0 Commentaires
Discovery & Installation of CPS3
[25 mn de lecture - paru le 5/11/2004 12:18:37 PM - Public : Débutant]

En savoir plus


1254 Visites
1 Commentaires
Installation of PhP and MySQL on MacOS X.3
[15 mn de lecture - paru le 5/11/2004 10:36:28 AM - Public : Débutant]

En savoir plus


98 Visites
0 Commentaires
Introduction of RTP in Java
[30 mn de lecture - paru le 5/11/2004 9:36:57 AM - Public : Confirmé]

En savoir plus

   Tous les Articles


SUPINFO Training Center peut vous proposer une formation ...

   Devenez Ingénieur Système Microsoft en 35 jours avec SUPINFO Training Center
   Devenez Certifiés Cisco en 13 jours avec SUPINFO Training Center
   Devenez Administrateur Système Microsoft avec SUPINFO Training Center
   Devenez Développeur Microsoft .NET en 13 jours avec SUPINFO Training Center



Powered by Campus-Booster Technology
Conditions d'utilisation & Copyright | Respect de la vie privée
© Copyright 1965-2006 Supinfo Paris, Paris Academy of Computer Science
Supinfo, Ecole Supérieure d'Informatique et Paris Academy Of Computer Science are trade marks.
23, rue de Château LANDON - 75010 PARIS - Phone : +33 (0) 153359 700 Fax : +33 (0) 153359 701

Web site autided by :