DekGenius.com
[ Team LiB ] Previous Section Next Section

DescriptionAttribute

System.ComponentModel (system.dll)class

You can decorate a property with this attribute to provide some descriptive help text (the Description).

public class DescriptionAttribute : Attribute {
// Public Constructors
   public DescriptionAttribute();
   public DescriptionAttribute(string description);
// Public Static Fields
   public static readonly DescriptionAttribute Default;  // =System.ComponentModel.DescriptionAttribute
// Public Instance Properties
   public virtual string Description{get; }
// Protected Instance Properties
   protected string DescriptionValue{set; get; }
// Public Instance Methods
   public override bool Equals(object obj);  // overrides Attribute
   public override int GetHashCode();  // overrides Attribute
}

Hierarchy

System.Object System.Attribute DescriptionAttribute

Subclasses

System.Diagnostics.MonitoringDescriptionAttribute, System.IO.IODescriptionAttribute, System.Timers.TimersDescriptionAttribute

Valid On

All

    [ Team LiB ] Previous Section Next Section