[This is preliminary documentation and is subject to change.]

Syntax

C#
public class DisplayLabelAttribute
Visual Basic (Declaration)
Public Class DisplayLabelAttribute
Visual C++
public ref class DisplayLabelAttribute

The type exposes the following members.

Public Constructors

  NameDescription
Public methodDisplayLabelAttributeDisplayLabelAttributeNew
Create a fixed user label for a property.

Public Methods

  NameDescription
Public methodEquals (Overrides Attribute..::Equals(Object).)
Public methodGet
Return the string supplied in the constructor of this attribute.
Public methodGetHashCode (Overrides Attribute..::GetHashCode()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodIsReadOnly
Always returns true.
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public methodSet
Not supported.
Public methodToString (Overrides Object..::ToString()().)

Protected Methods

  NameDescription
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyLabel
The user label for the property.
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate method_Attribute..::GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::Invoke (Inherited from Attribute.)

See Also