Language

JniValueMarshaler<T>.CreateObjectReferenceArgumentState Method

Definition

Casts an object to T and creates typed object-reference argument state.

public override Java.Interop.JniValueMarshalerState CreateObjectReferenceArgumentState(object? value, System.Reflection.ParameterAttributes synchronize = System.Reflection.ParameterAttributes.None);
override this.CreateObjectReferenceArgumentState : obj * System.Reflection.ParameterAttributes -> Java.Interop.JniValueMarshalerState

Parameters

value
Object

The managed value, cast directly to T.

synchronize
ParameterAttributes

Flags forwarded to CreateGenericObjectReferenceArgumentState.

Returns

The state returned by the typed object-reference state creator.

Applies to