System.ComponentModel.DisplayNameAttribute Members

The members of System.ComponentModel.DisplayNameAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Initializes a new instance of the System.ComponentModel.DisplayNameAttribute class.

Initializes a new instance of the System.ComponentModel.DisplayNameAttribute class using the display name.

Public Fields

static readonly
DefaultDisplayNameAttribute.

Specifies the default value for the System.ComponentModel.DisplayNameAttribute. This field is read-only.

Public Properties

[read-only]
DisplayNamestring.

Gets the display name for a property, event, or public void method that takes no arguments stored in this attribute.

Protected Properties

DisplayNameValuestring.

Gets or sets the display name.

Public Methods

override
Equals(object) : bool

Determines whether two System.ComponentModel.DisplayNameAttribute instances are equal.

override
GetHashCode() : int

Returns the hash code for this instance.

override
IsDefaultAttribute() : bool

Determines if this attribute is the default.