Language

JniRuntime.JniValueManager.CreateLocalObjectReferenceArgumentCore Method

Definition

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.

Applies to