Compartilhar via


ExpressionExtensions.Assign(MemberExpression, Expression) Método

Definição

Cria um BinaryExpression que representa uma operação de atribuição.

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

O membro ao qual a atribuição será feita.

valueExpression
Expression

O valor que será atribuído.

Retornos

O BinaryExpression que representa a associação de atribuição.

Atributos

Aplica-se a