다음을 통해 공유


LocDisplayNameAttribute Class

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

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

‘선언
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Property Or AttributeTargets.Field, Inherited := False,  _
    AllowMultiple := False)> _
Public NotInheritable Class LocDisplayNameAttribute _
    Inherits DisplayNameAttribute
‘사용 방법
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
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Field, Inherited = false, 
    AllowMultiple = false)>]
type LocDisplayNameAttribute =  
    class
        inherit DisplayNameAttribute
    end
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