言語

JniEnvironment.InstanceFields.GetFieldID メソッド

定義

オーバーロード

名前 説明
GetFieldID(JniObjectReference, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

NULL で終わる UTF-8 名と署名スパンを使用して、JNI インスタンス フィールド ID を検索します。 文字列マーシャリングのオーバーヘッドを回避するには、 "fieldName"u8 リテラルと共に使用します。

GetFieldID(JniObjectReference, String, String)

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

NULL で終わる UTF-8 名と署名スパンを使用して、JNI インスタンス フィールド ID を検索します。 文字列マーシャリングのオーバーヘッドを回避するには、 "fieldName"u8 リテラルと共に使用します。

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

パラメーター

signature
ReadOnlySpan<Byte>

返品

適用対象

GetFieldID(JniObjectReference, String, String)

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

パラメーター

name
String
signature
String

返品

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象