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