JNIEnv.SetField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetField(IntPtr, IntPtr, Int64)
public static void SetField (IntPtr jobject, IntPtr jfieldID, long val);
static member SetField : nativeint * nativeint * int64 -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
- Int64
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetField(IntPtr, IntPtr, Single)
public static void SetField (IntPtr jobject, IntPtr jfieldID, float val);
static member SetField : nativeint * nativeint * single -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
- Single
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetField(IntPtr, IntPtr, SByte)
public static void SetField (IntPtr jobject, IntPtr jfieldID, sbyte val);
static member SetField : nativeint * nativeint * sbyte -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
- SByte
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetField(IntPtr, IntPtr, IntPtr)
public static void SetField (IntPtr jobject, IntPtr jfieldID, IntPtr val);
static member SetField : nativeint * nativeint * nativeint -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
-
IntPtr
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetField(IntPtr, IntPtr, Int32)
public static void SetField (IntPtr jobject, IntPtr jfieldID, int val);
static member SetField : nativeint * nativeint * int -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
- Int32
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetField(IntPtr, IntPtr, Double)
public static void SetField (IntPtr jobject, IntPtr jfieldID, double val);
static member SetField : nativeint * nativeint * double -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
- Double
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetField(IntPtr, IntPtr, Char)
public static void SetField (IntPtr jobject, IntPtr jfieldID, char val);
static member SetField : nativeint * nativeint * char -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
- Char
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetField(IntPtr, IntPtr, Boolean)
public static void SetField (IntPtr jobject, IntPtr jfieldID, bool val);
static member SetField : nativeint * nativeint * bool -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
- Boolean
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetField(IntPtr, IntPtr, Int16)
public static void SetField (IntPtr jobject, IntPtr jfieldID, short val);
static member SetField : nativeint * nativeint * int16 -> unit
Parameters
- jobject
-
IntPtr
nativeint
- jfieldID
-
IntPtr
nativeint
- val
- Int16
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.