ExportAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used on a method to indicate Java code generator to export a Java method that becomes an Android Callable Wrapper (ACW).
[System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public class ExportAttribute : Java.Interop.BaseExportAttribute
[<System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type ExportAttribute = class
inherit BaseExportAttribute
- Inheritance
- 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
| Name | Description |
|---|---|
| ExportAttribute() |
Creates export metadata without an explicit Java method name. |
| ExportAttribute(String) |
Creates a new instance of this type. |
Properties
| Name | Description |
|---|---|
| Name |
Specifies the Java method name to be generated. |
| SuperArgumentsString |
Gets or sets the Java expression text used for a generated constructor's superclass arguments. |
| Throws |
Specifies which types could be thrown, which will be used to indicate the checked exceptions. |