DisplayDescriptionKeyAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于查找本地化说明的键
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Property)]
public class DisplayDescriptionKeyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Property)>]
type DisplayDescriptionKeyAttribute = class
inherit Attribute
Public Class DisplayDescriptionKeyAttribute
Inherits Attribute
- 继承
-
DisplayDescriptionKeyAttribute
- 属性
构造函数
| 名称 | 说明 |
|---|---|
| DisplayDescriptionKeyAttribute(String) |
构造函数 |
属性
| 名称 | 说明 |
|---|---|
| Key |
用于查找本地化属性说明的键 |
方法
| 名称 | 说明 |
|---|---|
| GetDefaultKey(FieldInfo) |
用于在默认资源文件中查找本地化属性类别的键 |
| GetDefaultKey(PropertyInfo) |
用于在默认资源文件中查找本地化属性类别的键 |
| GetDefaultKey(Type) |
用于在默认资源文件中查找本地化属性类别的键 |