Bagikan melalui


Expression.IsTrue Metode

Definisi

Mengembalikan apakah ekspresi mengevaluasi ke true.

Overload

IsTrue(Expression)

Mengembalikan apakah ekspresi mengevaluasi ke true.

IsTrue(Expression, MethodInfo)

Mengembalikan apakah ekspresi mengevaluasi ke true.

IsTrue(Expression)

Sumber:
UnaryExpression.cs
Sumber:
UnaryExpression.cs
Sumber:
UnaryExpression.cs

Mengembalikan apakah ekspresi mengevaluasi ke true.

public:
 static System::Linq::Expressions::UnaryExpression ^ IsTrue(System::Linq::Expressions::Expression ^ expression);
public static System.Linq.Expressions.UnaryExpression IsTrue (System.Linq.Expressions.Expression expression);
static member IsTrue : System.Linq.Expressions.Expression -> System.Linq.Expressions.UnaryExpression
Public Shared Function IsTrue (expression As Expression) As UnaryExpression

Parameter

expression
Expression

Sebuah Expression untuk mengevaluasi.

Mengembalikan

Instans UnaryExpression.

Berlaku untuk

IsTrue(Expression, MethodInfo)

Sumber:
UnaryExpression.cs
Sumber:
UnaryExpression.cs
Sumber:
UnaryExpression.cs

Mengembalikan apakah ekspresi mengevaluasi ke true.

public:
 static System::Linq::Expressions::UnaryExpression ^ IsTrue(System::Linq::Expressions::Expression ^ expression, System::Reflection::MethodInfo ^ method);
public static System.Linq.Expressions.UnaryExpression IsTrue (System.Linq.Expressions.Expression expression, System.Reflection.MethodInfo method);
public static System.Linq.Expressions.UnaryExpression IsTrue (System.Linq.Expressions.Expression expression, System.Reflection.MethodInfo? method);
static member IsTrue : System.Linq.Expressions.Expression * System.Reflection.MethodInfo -> System.Linq.Expressions.UnaryExpression
Public Shared Function IsTrue (expression As Expression, method As MethodInfo) As UnaryExpression

Parameter

expression
Expression

Sebuah Expression untuk mengevaluasi.

method
MethodInfo

MethodInfo yang mewakili metode penerapan.

Mengembalikan

Instans UnaryExpression.

Berlaku untuk