Compartir a través de


ExpressionExtensions.Assign(MemberExpression, Expression) Método

Definición

Crea un objeto BinaryExpression que representa una operación de asignación.

public static System.Linq.Expressions.Expression Assign (this System.Linq.Expressions.MemberExpression memberExpression, System.Linq.Expressions.Expression valueExpression);
[System.Diagnostics.CodeAnalysis.DynamicDependency]
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2077", Justification="AssignBinaryExpression is preserved via DynamicDependency below")]
public static System.Linq.Expressions.Expression Assign (this System.Linq.Expressions.MemberExpression memberExpression, System.Linq.Expressions.Expression valueExpression);
static member Assign : System.Linq.Expressions.MemberExpression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
[<System.Diagnostics.CodeAnalysis.DynamicDependency>]
[<System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2077", Justification="AssignBinaryExpression is preserved via DynamicDependency below")>]
static member Assign : System.Linq.Expressions.MemberExpression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
<Extension()>
Public Function Assign (memberExpression As MemberExpression, valueExpression As Expression) As Expression

Parámetros

memberExpression
MemberExpression

Miembro al que se realizará la asignación.

valueExpression
Expression

Valor que se asignará.

Devoluciones

BinaryExpression que representa el enlace de asignación.

Atributos

Se aplica a