MetaDataAttribute MetaDataAttribute Class

Definition

Generates the //meta-data element within AndroidManifest.xml.

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.Serializable]
public sealed class MetaDataAttribute : Attribute
type MetaDataAttribute = class
    inherit Attribute
Inheritance
MetaDataAttributeMetaDataAttribute
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

MetaDataAttribute(String) MetaDataAttribute(String)

Constructs and initializes a new MetaDataAttribute instance with the specified meta-data name.

Properties

Name Name

The name of the meta-data to generate.

Resource Resource

A reference to a resource to use as the value.

Value Value

The value of the meta-data.

Applies to