JniRuntime.JniValueManager.CreateLocalObjectReferenceArgumentCore 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.
Defines creation of a local JNI object-reference argument.
protected abstract Java.Interop.JniObjectReference CreateLocalObjectReferenceArgumentCore(Type type, object? value);
abstract member CreateLocalObjectReferenceArgumentCore : Type * obj -> Java.Interop.JniObjectReference
Parameters
- type
- Type
The managed argument type.
- value
- Object
The managed argument to represent in Java.
Returns
A local reference for the value, or an invalid reference for a supported null value.
Remarks
Derived implementations determine supported managed values and allocate the argument reference.