Udostępnij za pośrednictwem


LocDisplayNameAttribute Class

Definition

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

public ref class LocDisplayNameAttribute sealed : System::ComponentModel::DisplayNameAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class LocDisplayNameAttribute : System.ComponentModel.DisplayNameAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type LocDisplayNameAttribute = class
    inherit DisplayNameAttribute
Public NotInheritable Class LocDisplayNameAttribute
Inherits DisplayNameAttribute
Inheritance
LocDisplayNameAttribute
Attributes

Constructors

LocDisplayNameAttribute(String)

Initializes a new instance of LocDisplayNameAttribute for the specified name.

Properties

DisplayName

Gets the localized display name.

Applies to