LocalizedPropertyResourcesAttribute 类

定义

包含本地化属性类别、名称和说明字符串的资源的名称

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct)]
public class LocalizedPropertyResourcesAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct)>]
type LocalizedPropertyResourcesAttribute = class
    inherit Attribute
Public Class LocalizedPropertyResourcesAttribute
Inherits Attribute
继承
LocalizedPropertyResourcesAttribute
属性

构造函数

名称 说明
LocalizedPropertyResourcesAttribute(String, Boolean)

构造函数

LocalizedPropertyResourcesAttribute(String)

构造函数

LocalizedPropertyResourcesAttribute(Type)

构造函数

属性

名称 说明
ResourcesName

包含本地化属性类别和名称字符串的资源的名称

UseDefaultKeys

如果默认情况下应选取键或应作为属性进行检索,则返回 true

适用于