CommonDisplayCategoryKeyAttribute 类

定义

用于查找本地化属性类别的键

[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)

用于在默认资源文件中查找本地化类型类别的键

适用于