LocalizablePropertyDisplayNameAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为房产提供本地化的显示名称。
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 |
方法
| 名称 | 说明 |
|---|---|
| GetLocalizedValue() |
返回包含局部化值的 LocalizablePropertyDisplayNameAttribute字符串。 |