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.
Creates expressions for a managed return value. The base implementation prepares a JNI return handle.
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 in the base implementation.
- sourceValue
- ParameterExpression
The managed return-value parameter expression.
Returns
The expression for the JNI return value. In the base implementation, it is the local variable for a JNI reference handle; the handle is zero if the marshaled reference is invalid.
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.