Export (0) Print
Expand All

<value>

<value>property-description</value>

where:

property-description
A description for the property.

Remarks

The <value> tag lets you describe a property. Note that when you add a property via code wizard in the Visual Studio .NET development environment, it will add a <summary> tag for the new property. You should then manually add a <value> tag to describe the value that the property represents.

Compile with /doc to process documentation comments to a file.

Example

// xml_value_tag.cs
// compile with: /doc:xml_value_tag.xml
using System;
/// text for class Employee
public class Employee
{
   private string name;
   /// <value>Name accesses the value of the name data member</value>
   public string Name
   {
      get
      {
         return name; 
      }
      set
      {
         name = value; 
      }
   }
}

/// text for class MainClass
public class MainClass
{
   /// text for Main
   public static void Main()
   {
   }
}

See Also

Recommended Tags for Documentation Comments

Show:
© 2014 Microsoft