語言

RegisterAttribute 類別

定義

此 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
屬性
實作

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

建構函式

名稱 Description
RegisterAttribute(String, String, String)

構造並初始化一個具有指定成員名稱、簽章及連接器的型別實例 RegisterAttribute 。

RegisterAttribute(String)

構造並初始化以指定類型名稱的 RegisterAttribute 型別實例。

屬性

名稱 Description
ApiSince

此 API 支援 MonoDroid 基礎架構,並非設計用來直接從你的程式碼中使用。

Connector

內部方法,用於將 JNI 原生宣告與相應的受管理實作連結。

DoNotGenerateAcw

是否應該為該類型產生 Android 可呼叫包裝器。

Name

對應的 Android 類型或成員名稱。

Signature

配對 Android 成員的簽名。

適用於