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 |
元数据的值。 |