MetaDataAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 //meta-data . 中 AndroidManifest.xml生成元素
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.Serializable]
public sealed class MetaDataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
[<System.Serializable>]
type MetaDataAttribute = class
inherit Attribute
- 继承
-
MetaDataAttribute
- 属性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
构造函数
| 名称 | 说明 |
|---|---|
| MetaDataAttribute(String) |
使用指定的元数据名称构造和初始化新 MetaDataAttribute 实例。 |
属性
| 名称 | 说明 |
|---|---|
| Name |
要生成的元数据的名称。 |
| Resource |
对要用作值的资源的引用。 |
| Value |
元数据的值。 |