共用方式為


ExpressionExtensions.Assign(MemberExpression, Expression) 方法

定義

建立代表指派運算的 BinaryExpression

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

參數

memberExpression
MemberExpression

將進行指派的成員。

valueExpression
Expression

將指派的值。

傳回

BinaryExpression 表示指派系結。

屬性

適用於