Compartir a través de


DisplayNameAttribute Class

Definition

Caution

Use LocalizedNameAttribute instead.

Provides a display name for an editor component part.

public ref class DisplayNameAttribute sealed : Microsoft::VisualStudio::Utilities::SingletonBaseMetadataAttribute
public ref class DisplayNameAttribute sealed : Microsoft::VisualStudio::Utilities::SingletonBaseMetadataAttribute
public sealed class DisplayNameAttribute : Microsoft.VisualStudio.Utilities.SingletonBaseMetadataAttribute
[System.Obsolete("Use LocalizedNameAttribute instead.")]
public sealed class DisplayNameAttribute : Microsoft.VisualStudio.Utilities.SingletonBaseMetadataAttribute
type DisplayNameAttribute = class
    inherit SingletonBaseMetadataAttribute
[<System.Obsolete("Use LocalizedNameAttribute instead.")>]
type DisplayNameAttribute = class
    inherit SingletonBaseMetadataAttribute
Public NotInheritable Class DisplayNameAttribute
Inherits SingletonBaseMetadataAttribute
Inheritance
Attributes

Remarks

This attribute should be localized wherever it is used.

Constructors

DisplayNameAttribute(String)

Initializes a new instance of DisplayNameAttribute.

Properties

DisplayName

Gets the display name of an editor component part.

Applies to