DescriptionAttribute Class |
Namespace: System.ComponentModel
public class DescriptionAttribute : Attribute
The DescriptionAttribute type exposes the following members.
Name | Description | |
---|---|---|
![]() | DescriptionAttribute |
Initializes a new instance of the System.ComponentModel.DescriptionAttribute
class with no parameters.
|
![]() | DescriptionAttribute(String) |
Initializes a new instance of the System.ComponentModel.DescriptionAttribute
class with a description.
|
Name | Description | |
---|---|---|
![]() | Equals |
Returns whether the value of the given object is equal to the current System.ComponentModel.DescriptionAttribute.
(Overrides AttributeEquals(Object).) |
![]() | GetHashCode |
Returns the hash code for this attribute.
(Overrides AttributeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsDefaultAttribute |
Returns a value indicating whether this is the default System.ComponentModel.DescriptionAttribute
instance.
(Overrides AttributeIsDefaultAttribute.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | Default |
Specifies the default value for the System.ComponentModel.DescriptionAttribute,
which is an empty string (""). This static field is read-only.
|
Name | Description | |
---|---|---|
![]() | Description |
Gets the description stored in this attribute.
|
![]() | DescriptionValue |
Gets or sets the string stored as the description.
|