10 private string description;
40 this.description = description;
47 public override bool Equals(
object obj)
54 if (descriptionAttribute !=
null)
DescriptionAttribute(string description)
Initializes a new instance of the T:System.ComponentModel.DescriptionAttribute class with a descripti...
Represents the base class for custom attributes.
override int GetHashCode()
Returns the hash code for this instance.
override bool Equals(object obj)
Returns whether the value of the given object is equal to the current T:System.ComponentModel....
string DescriptionValue
Gets or sets the string stored as the description.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
Specifies a description for a property or event.
static readonly DescriptionAttribute Default
Specifies the default value for the T:System.ComponentModel.DescriptionAttribute, which is an empty s...
virtual string Description
Gets the description stored in this attribute.
override bool IsDefaultAttribute()
Returns a value indicating whether this is the default T:System.ComponentModel.DescriptionAttribute i...
DescriptionAttribute()
Initializes a new instance of the T:System.ComponentModel.DescriptionAttribute class with no paramete...