JniEnvironment.Types.RegisterNatives メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| RegisterNatives(JniObjectReference, JniNativeMethodRegistration[]) | |
| RegisterNatives(JniObjectReference, ReadOnlySpan<JniNativeMethod>) |
blittable JniNativeMethod 構造体を使用して、生の関数ポインターと UTF-8 名/署名ポインターを使用して JNI ネイティブ メソッドを登録します。 デリゲート マーシャリングなしで JNI RegisterNatives 関数を直接呼び出します。 |
| RegisterNatives(JniObjectReference, JniNativeMethodRegistration[], Int32) |
RegisterNatives(JniObjectReference, JniNativeMethodRegistration[])
public static void RegisterNatives(Java.Interop.JniObjectReference type, Java.Interop.JniNativeMethodRegistration[] methods);
static member RegisterNatives : Java.Interop.JniObjectReference * Java.Interop.JniNativeMethodRegistration[] -> unit
パラメーター
- type
- JniObjectReference
- methods
- JniNativeMethodRegistration[]
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
RegisterNatives(JniObjectReference, ReadOnlySpan<JniNativeMethod>)
blittable JniNativeMethod 構造体を使用して、生の関数ポインターと UTF-8 名/署名ポインターを使用して JNI ネイティブ メソッドを登録します。 デリゲート マーシャリングなしで JNI RegisterNatives 関数を直接呼び出します。
public static void RegisterNatives(Java.Interop.JniObjectReference type, ReadOnlySpan<Java.Interop.JniNativeMethod> methods);
static member RegisterNatives : Java.Interop.JniObjectReference * ReadOnlySpan<Java.Interop.JniNativeMethod> -> unit
パラメーター
- type
- JniObjectReference
- methods
- ReadOnlySpan<JniNativeMethod>
適用対象
RegisterNatives(JniObjectReference, JniNativeMethodRegistration[], Int32)
public static void RegisterNatives(Java.Interop.JniObjectReference type, Java.Interop.JniNativeMethodRegistration[] methods, int numMethods);
static member RegisterNatives : Java.Interop.JniObjectReference * Java.Interop.JniNativeMethodRegistration[] * int -> unit
パラメーター
- type
- JniObjectReference
- methods
- JniNativeMethodRegistration[]
- numMethods
- Int32
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。