10 private string _displayName;
40 _displayName = displayName;
47 public override bool Equals(
object obj)
54 if (displayNameAttribute !=
null)
override bool Equals(object obj)
Determines whether two T:System.ComponentModel.DisplayNameAttribute instances are equal.
Represents the base class for custom attributes.
DisplayNameAttribute()
Initializes a new instance of the T:System.ComponentModel.DisplayNameAttribute class.
static readonly DisplayNameAttribute Default
Specifies the default value for the T:System.ComponentModel.DisplayNameAttribute. This field is read-...
virtual string DisplayName
Gets the display name for a property, event, or public void method that takes no arguments stored in ...
DisplayNameAttribute(string displayName)
Initializes a new instance of the T:System.ComponentModel.DisplayNameAttribute class using the displa...
string DisplayNameValue
Gets or sets the display name.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
Specifies the display name for a property, event, or public void method which takes no arguments.
override int GetHashCode()
Returns the hash code for this instance.
override bool IsDefaultAttribute()
Determines if this attribute is the default.