DisplayCategoryKeyAttribute 类

定义

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

[System.AttributeUsage(System.AttributeTargets.Property)]
public class DisplayCategoryKeyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type DisplayCategoryKeyAttribute = class
    inherit Attribute
Public Class DisplayCategoryKeyAttribute
Inherits Attribute
继承
DisplayCategoryKeyAttribute
属性

构造函数

名称 说明
DisplayCategoryKeyAttribute(String)

构造函数

属性

名称 说明
Key

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

方法

名称 说明
GetDefaultKey(FieldInfo)

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

GetDefaultKey(PropertyInfo)

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

GetDefaultKey(Type)

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

适用于