Lingua

JniEnvironment.StaticFields.GetStaticFieldID Metodo

Definizione

Overload

Nome Descrizione
GetStaticFieldID(JniObjectReference, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Cerca un ID campo statico JNI usando intervalli di nome e firma UTF-8 con terminazione Null. Usare con "fieldName"u8 valori letterali per evitare il marshalling delle stringhe.

GetStaticFieldID(JniObjectReference, String, String)

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

Cerca un ID campo statico JNI usando intervalli di nome e firma UTF-8 con terminazione Null. Usare con "fieldName"u8 valori letterali per evitare il marshalling delle stringhe.

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

Parametri

signature
ReadOnlySpan<Byte>

Valori restituiti

Si applica a

GetStaticFieldID(JniObjectReference, String, String)

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

Parametri

name
String
signature
String

Valori restituiti

Commenti

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a