ColorValueMarshaler.CreateParameterFromManagedExpression 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 an expression that reads the packed integer from a color parameter.
public override System.Linq.Expressions.Expression CreateParameterFromManagedExpression(Java.Interop.Expressions.JniValueMarshalerContext context, System.Linq.Expressions.ParameterExpression sourceValue, System.Reflection.ParameterAttributes synchronize);
override this.CreateParameterFromManagedExpression : Java.Interop.Expressions.JniValueMarshalerContext * System.Linq.Expressions.ParameterExpression * System.Reflection.ParameterAttributes -> System.Linq.Expressions.Expression
Parameters
- context
- JniValueMarshalerContext
Receives the generated integer local and its initialization statement.
- sourceValue
- ParameterExpression
An expression for the source color value.
- synchronize
- ParameterAttributes
Unused by this packed-integer conversion.
Returns
An expression that refers to the generated integer local.
Remarks
The context receives an assignment from the color's stored integer to the generated local. The returned expression refers to that local; it does not perform the conversion immediately.