MetaDataAttribute クラス

定義

AndroidManifest.xml内で//meta-data要素を生成します。

[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

メタデータの値。

適用対象