語言

JniEnvironment.StaticMethods.GetStaticMethodID 方法

定義

多載

名稱 Description
GetStaticMethodID(JniObjectReference, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

查詢使用 null-terminald UTF-8 名稱與簽章範圍的 JNI 靜態方法 ID。 "methodName"u8使用文字函數以避免字串分流過頭。

GetStaticMethodID(JniObjectReference, String, String)

GetStaticMethodID(JniObjectReference, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

查詢使用 null-terminald UTF-8 名稱與簽章範圍的 JNI 靜態方法 ID。 "methodName"u8使用文字函數以避免字串分流過頭。

public static Java.Interop.JniMethodInfo GetStaticMethodID(Java.Interop.JniObjectReference type, ReadOnlySpan<byte> name, ReadOnlySpan<byte> signature);
static member GetStaticMethodID : Java.Interop.JniObjectReference * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> Java.Interop.JniMethodInfo

參數

signature
ReadOnlySpan<Byte>

傳回

適用於

GetStaticMethodID(JniObjectReference, String, String)

public static Java.Interop.JniMethodInfo GetStaticMethodID(Java.Interop.JniObjectReference type, string name, string signature);
static member GetStaticMethodID : Java.Interop.JniObjectReference * string * string -> Java.Interop.JniMethodInfo

參數

name
String
signature
String

傳回

備註

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

適用於