JniFieldInfo Constructors
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
| Name | Description |
|---|---|
| JniFieldInfo(IntPtr, Boolean) |
Creates field information from an existing JNI field identifier. |
| JniFieldInfo(String, String, IntPtr, Boolean) |
Creates field information with optional debug name and signature data. |
JniFieldInfo(IntPtr, Boolean)
Creates field information from an existing JNI field identifier.
public JniFieldInfo(IntPtr fieldID, bool isStatic);
new Java.Interop.JniFieldInfo : nativeint * bool -> Java.Interop.JniFieldInfo
Parameters
- fieldID
-
IntPtr
nativeint
The JNI field identifier to store.
- isStatic
- Boolean
true for a static field; false for an instance field.
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
JniFieldInfo(String, String, IntPtr, Boolean)
Creates field information with optional debug name and signature data.
public JniFieldInfo(string name, string signature, IntPtr fieldID, bool isStatic);
new Java.Interop.JniFieldInfo : string * string * nativeint * bool -> Java.Interop.JniFieldInfo
Parameters
- name
- String
The field name, retained only in debug builds.
- signature
- String
The JNI field signature, retained only in debug builds.
- fieldID
-
IntPtr
nativeint
The JNI field identifier to store.
- isStatic
- Boolean
true for a static field; false for an instance field.
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.