共用方式為


ExportFieldAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public class ExportFieldAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type ExportFieldAttribute = class
    inherit Attribute
Inheritance
ExportFieldAttribute
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

ExportFieldAttribute(String)

Creates a new instance of this type.

Properties

Name

Specifies the Java field name to be generated.

Applies to