Språk

JNIEnv.GetStaticShortField(IntPtr, IntPtr) Method

Definition

Reads a Java short static field.

public static short GetStaticShortField(IntPtr jclass, IntPtr jfieldID);
static member GetStaticShortField : nativeint * nativeint -> int16

Parameters

jclass
IntPtr

nativeint

A live, non-null JNI class reference from the current VM, usable on the calling thread until the call returns or throws.

jfieldID
IntPtr

nativeint

A live static field ID applicable to jclass with Java type short. Keep its declaring class live.

Returns

The field value.

Applies to