Tuesday, September 11, 2007

Adding Documentation for Enum Members in .Net

To add the documentation for each member of enum, we have to add the tag for each members like the below.

CODE:
-----


///<summary>
/// Priority
///</summary>
public enum Priority
{
///<summary>
/// Low Priority
///</summary>
Low,
///<summary>
/// Medium Priority
///</summary>
Medium,
///<summary>
/// High Priority
///</summary>
High,


}

No comments: