LocalizedPropertyResourcesAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含本地化属性类别、名称和说明字符串的资源的名称
[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 |