Share via


ExportFieldAttribute 类

定义

用于 方法,以指示 Java 代码生成器导出将由托管方法初始化的 Java 字段。

[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
继承
ExportFieldAttribute
属性

注解

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

构造函数

ExportFieldAttribute(String)

创建此类型的新实例。

属性

Name

指定要生成的 Java 字段名称。

适用于