Java.Interop.ExportFieldAttribute Class
Used on a method to indicate Java code generator to export a Java field which will be initialized by the managed method.

See Also: ExportFieldAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class ExportFieldAttribute : Attribute

Remarks

Java.Introp.ExportAttribute and Java.Introp.ExportFieldAttribute are used to generate Java method and/or field explicitly in Android Callable Wrappers (ACWs), with specific name. The Mono for Android build process does not usually generate Java fields, but they are required in some usage scenario. This attribute is introduced to support them.

For details, see ExportAttribute section of the documentation page.

This type is introduced in Mono for Android 4.2.

Requirements

Namespace: Java.Interop
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0