Click or drag to resize
DescriptionAttribute Class
Specifies a description for a property or event.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.ComponentModelDescriptionAttribute

Namespace: System.ComponentModel
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public class DescriptionAttribute : Attribute

The DescriptionAttribute type exposes the following members.

Constructors
  NameDescription
Public methodDescriptionAttribute
Initializes a new instance of the System.ComponentModel.DescriptionAttribute class with no parameters.
Public methodDescriptionAttribute(String)
Initializes a new instance of the System.ComponentModel.DescriptionAttribute class with a description.
Top
Methods
  NameDescription
Public methodEquals
Returns whether the value of the given object is equal to the current System.ComponentModel.DescriptionAttribute.
(Overrides AttributeEquals(Object).)
Public methodGetHashCode
Returns the hash code for this attribute.
(Overrides AttributeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
Returns a value indicating whether this is the default System.ComponentModel.DescriptionAttribute instance.
(Overrides AttributeIsDefaultAttribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefault
Specifies the default value for the System.ComponentModel.DescriptionAttribute, which is an empty string (""). This static field is read-only.
Top
Properties
  NameDescription
Public propertyDescription
Gets the description stored in this attribute.
Protected propertyDescriptionValue
Gets or sets the string stored as the description.
Top
See Also