See Also: MetaDataAttribute Members
The //meta-data element is used to provide arbitrary data about a component. The Android.App.MetaDataAttribute custom attribute is used by monodroid.exe when generating AndroidManifest.xml to to declaratively generate the //meta-data elements.
The following type declaration:
C# Example
[Activity]
[MetaData ("foo", Value="bar")]
public class MyActivity : Activity
{
}will generate the following XML fragment within AndroidManifest.xml:
xml Example
<activity android:name="demo.MyActivity" android:label="MyActivity">
<meta-data android:name="foo" android:value="bar" />
</activity>