Language

JniEnvironment.StaticFields.GetStaticIntField メソッド

定義

JNI 識別子を使用して、Java int 静的フィールドを読み取ります。

public static int GetStaticIntField(Java.Interop.JniObjectReference type, Java.Interop.JniFieldInfo field);
static member GetStaticIntField : Java.Interop.JniObjectReference * Java.Interop.JniFieldInfo -> int

パラメーター

type
JniObjectReference

フィールド アクセスに使用される有効なJava クラス参照。

field
JniFieldInfo

int 静的フィールドの有効な JNI 識別子。

戻り値

intとしてのフィールド値。

適用対象