Share via


LocDisplayNameAttribute Class

Specifies the localizable display name for a property, event, or public void method which takes no arguments.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Property Or AttributeTargets.Field, Inherited := False,  _
    AllowMultiple := False)> _
Public NotInheritable Class LocDisplayNameAttribute _
    Inherits DisplayNameAttribute
'Usage
Dim instance As LocDisplayNameAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Field, Inherited = false, 
    AllowMultiple = false)]
public sealed class LocDisplayNameAttribute : DisplayNameAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Property|AttributeTargets::Field, Inherited = false, 
    AllowMultiple = false)]
public ref class LocDisplayNameAttribute sealed : public DisplayNameAttribute
public final class LocDisplayNameAttribute extends DisplayNameAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    System.ComponentModel.DisplayNameAttribute
      Microsoft.VisualStudio.Shell.LocDisplayNameAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LocDisplayNameAttribute Members

Microsoft.VisualStudio.Shell Namespace