JValue Struct
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.
Represents a JNI jvalue union, used to pass arguments to Java methods
via JNI function calls.
public struct JValue
type JValue = struct
- Inheritance
-
JValue
Remarks
Each constructor corresponds to one of the JNI primitive types or an object reference. See the JNI Type Specification.
Constructors
| Name | Description |
|---|---|
| JValue(Boolean) |
Creates a JValue from a Boolean value,
corresponding to the JNI |
| JValue(Char) |
Creates a JValue from a Char value,
corresponding to the JNI |
| JValue(Double) |
Creates a JValue from a Double value,
corresponding to the JNI |
| JValue(IJavaObject) |
Creates a JValue from an IJavaObject instance,
corresponding to a JNI |
| JValue(Int16) |
Creates a JValue from a Int16 value,
corresponding to the JNI |
| JValue(Int32) |
Creates a JValue from an Int32 value,
corresponding to the JNI |
| JValue(Int64) |
Creates a JValue from a Int64 value,
corresponding to the JNI |
| JValue(IntPtr) |
Creates a JValue from an IntPtr value,
corresponding to a JNI |
| JValue(SByte) |
Creates a JValue from an SByte value,
corresponding to the JNI |
| JValue(Single) |
Creates a JValue from a Single value,
corresponding to the JNI |
Fields
| Name | Description |
|---|---|
| Zero |
A JValue representing a JNI |