语言

LocalizablePropertyDisplayNameAttribute 类

定义

为房产提供本地化的显示名称。

public ref class LocalizablePropertyDisplayNameAttribute sealed : System::ComponentModel::DisplayNameAttribute
[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class LocalizablePropertyDisplayNameAttribute : System.ComponentModel.DisplayNameAttribute
[<System.AttributeUsage(System.AttributeTargets.All)>]
type LocalizablePropertyDisplayNameAttribute = class
    inherit DisplayNameAttribute
Public NotInheritable Class LocalizablePropertyDisplayNameAttribute
Inherits DisplayNameAttribute
继承
LocalizablePropertyDisplayNameAttribute
属性

构造函数

名称 说明
LocalizablePropertyDisplayNameAttribute(Type, String)

使用指定的类型和属性名称初始化该 LocalizablePropertyDisplayNameAttribute 类的新实例。

属性

名称 说明
DisplayName

获得显示名的 LocalizablePropertyDisplayNameAttribute

方法

名称 说明
GetLocalizedValue()

返回包含局部化值的 LocalizablePropertyDisplayNameAttribute字符串。

适用于