MetaDataAttribute 类

定义

//meta-dataAndroidManifest.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

元数据的值。

适用于