Language

JniValueMarshaler.CreateArgumentState(Object, ParameterAttributes) Method

Definition

Creates argument state. The base implementation delegates to CreateObjectReferenceArgumentState.

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

Parameters

value
Object

The managed argument to marshal.

synchronize
ParameterAttributes

Copy-direction flags. The base implementation passes them to the object-reference state creator.

Returns

The argument state. In the base implementation, this is the state returned by the object-reference state creator.

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