RegisterAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此 API 支持 MonoDroid 基础结构,不打算直接从代码使用。
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property)]
public sealed class RegisterAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property)>]
type RegisterAttribute = class
inherit Attribute
interface IJniNameProviderAttribute
- 继承
-
RegisterAttribute
- 属性
- 实现
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
构造函数
RegisterAttribute(String) |
构造并初始化具有指定类型名称的类型 RegisterAttribute 实例。 |
RegisterAttribute(String, String, String) |
使用指定的成员名称、签名和连接器构造和初始化类型的实例 RegisterAttribute 。 |
属性
ApiSince |
此 API 支持 MonoDroid 基础结构,不打算直接从代码使用。 |
Connector |
用于将 JNI 本机声明连接到相应托管实现的内部方法。 |
DoNotGenerateAcw |
是否应为类型生成 Android 可调用包装器。 |
Name |
核心响应 Android 类型或成员的名称。 |
Signature |
核心响应 Android 成员的签名。 |