Using XML Documentation Comments

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How would I document an enum for Intellisense to work properly? I have the
following enum:

public enum Level {A, B, C};

I can document the whole enum with a Summary tag. But how would I give each
member in the enum a description?
 
Shawn Melton said:
How would I document an enum for Intellisense to work properly? I have
the
following enum:

public enum Level {A, B, C};

I can document the whole enum with a Summary tag. But how would I give
each
member in the enum a description?

Like this :

/// <summary>
///
/// </summary>
public enum Level
{
/// <summary>
///
/// </summary>
A,
/// <summary>
///
/// </summary>
B,
/// <summary>
///
/// </summary>
C
};


Good luck.
 
Back
Top