JniValueMarshaler.CreateReturnValueFromManagedExpression 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.
Builds expressions that marshal a managed value and transfer a local JNI reference.
public virtual System.Linq.Expressions.Expression CreateReturnValueFromManagedExpression(Java.Interop.Expressions.JniValueMarshalerContext context, System.Linq.Expressions.ParameterExpression sourceValue);
abstract member CreateReturnValueFromManagedExpression : Java.Interop.Expressions.JniValueMarshalerContext * System.Linq.Expressions.ParameterExpression -> System.Linq.Expressions.Expression
override this.CreateReturnValueFromManagedExpression : Java.Interop.Expressions.JniValueMarshalerContext * System.Linq.Expressions.ParameterExpression -> System.Linq.Expressions.Expression
Parameters
- context
- JniValueMarshalerContext
Collects argument-state setup, cleanup, and the JNI return local.
- sourceValue
- ParameterExpression
The managed return-value parameter expression.
Returns
The expression for the JNI return-handle local.
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.