ExpressionType ExpressionType ExpressionType ExpressionType Enum

定義

式ツリー ノードのノード型を記述します。Describes the node types for the nodes of an expression tree.

public enum class ExpressionType
public enum ExpressionType
type ExpressionType = 
Public Enum ExpressionType
継承
ExpressionTypeExpressionTypeExpressionTypeExpressionType

フィールド

Add Add Add Add 0

オーバーフロー チェックを行わない、数値オペランドに対する加算演算 (a + b など)。An addition operation, such as a + b, without overflow checking, for numeric operands.

AddAssign AddAssign AddAssign AddAssign 63

オーバーフロー チェックを行わない、数値オペランドに対する加算の複合代入演算 ((a += b) など)。An addition compound assignment operation, such as (a += b), without overflow checking, for numeric operands.

AddAssignChecked AddAssignChecked AddAssignChecked AddAssignChecked 74

オーバーフロー チェックを行う、数値オペランドに対する加算の複合代入演算 ((a += b) など)。An addition compound assignment operation, such as (a += b), with overflow checking, for numeric operands.

AddChecked AddChecked AddChecked AddChecked 1

オーバーフロー チェックを行う、数値オペランドに対する加算演算 ((a + b) など)。An addition operation, such as (a + b), with overflow checking, for numeric operands.

And And And And 2

論理またはビットごとの AND 演算 (C# の (a & b)、Visual Basic の (a And b) など)。A bitwise or logical AND operation, such as (a & b) in C# and (a And b) in Visual Basic.

AndAlso AndAlso AndAlso AndAlso 3

1 番目のオペランドが AND に評価された場合にのみ 2 番目のオペランドを評価する条件 true 演算。A conditional AND operation that evaluates the second operand only if the first operand evaluates to true. C# の (a && b)、Visual Basic の (a AndAlso b) に対応します。It corresponds to (a && b) in C# and (a AndAlso b) in Visual Basic.

AndAssign AndAssign AndAssign AndAssign 64

論理またはビットごとの AND 複合代入演算 (C# の (a &= b) など)。A bitwise or logical AND compound assignment operation, such as (a &= b) in C#.

ArrayIndex ArrayIndex ArrayIndex ArrayIndex 5

1 次元配列のインデックス演算 (C# の array[index]、Visual Basic の array(index) など)。An indexing operation in a one-dimensional array, such as array[index] in C# or array(index) in Visual Basic.

ArrayLength ArrayLength ArrayLength ArrayLength 4

1 次元配列の長さを取得する演算 (array.Length など)。An operation that obtains the length of a one-dimensional array, such as array.Length.

Assign Assign Assign Assign 46

(a = b) などの代入演算。An assignment operation, such as (a = b).

Block Block Block Block 47

式のブロック。A block of expressions.

Call Call Call Call 6

obj.sampleMethod() 式などでのメソッド呼び出し。A method call, such as in the obj.sampleMethod() expression.

Coalesce Coalesce Coalesce Coalesce 7

null 合体演算 (C# の (a ?? b)、Visual Basic の If(a, b) など) を表すノード。A node that represents a null coalescing operation, such as (a ?? b) in C# or If(a, b) in Visual Basic.

Conditional Conditional Conditional Conditional 8

条件演算 (C# の a > b ? a : b、Visual Basic の If(a > b, a, b) など)。A conditional operation, such as a > b ? a : b in C# or If(a > b, a, b) in Visual Basic.

Constant Constant Constant Constant 9

定数値。A constant value.

Convert Convert Convert Convert 10

キャストまたは変換演算 (C# の (SampleType)obj、Visual Basic の CType(obj, SampleType) など)。A cast or conversion operation, such as (SampleType)obj in C#or CType(obj, SampleType) in Visual Basic. 数値変換では、変換された値が変換先の型に対して大きすぎる場合でも、例外はスローされません。For a numeric conversion, if the converted value is too large for the destination type, no exception is thrown.

ConvertChecked ConvertChecked ConvertChecked ConvertChecked 11

キャストまたは変換演算 (C# の (SampleType)obj、Visual Basic の CType(obj, SampleType) など)。A cast or conversion operation, such as (SampleType)obj in C#or CType(obj, SampleType) in Visual Basic. 数値変換では、変換された値が変換先の型に合わない場合は、例外がスローされます。For a numeric conversion, if the converted value does not fit the destination type, an exception is thrown.

DebugInfo DebugInfo DebugInfo DebugInfo 48

デバッグ情報。Debugging information.

Decrement Decrement Decrement Decrement 49

単項デクリメント演算 (C# および Visual Basic での (a - 1) など)。A unary decrement operation, such as (a - 1) in C# and Visual Basic. a オブジェクト自体は変更されません。The object a should not be modified in place.

Default Default Default Default 51

既定値。A default value.

Divide Divide Divide Divide 12

数値オペランドに対する除算演算 ((a / b) など)。A division operation, such as (a / b), for numeric operands.

DivideAssign DivideAssign DivideAssign DivideAssign 65

数値オペランドに対する除算の複合代入演算 ((a /= b) など)。An division compound assignment operation, such as (a /= b), for numeric operands.

Dynamic Dynamic Dynamic Dynamic 50

動的演算。A dynamic operation.

Equal Equal Equal Equal 13

等価比較 (C# の (a == b)、Visual Basic の (a = b) など) を表すノード。A node that represents an equality comparison, such as (a == b) in C# or (a = b) in Visual Basic.

ExclusiveOr ExclusiveOr ExclusiveOr ExclusiveOr 14

論理またはビットごとの XOR 演算 (C# の (a ^ b)、Visual Basic の (a Xor b) など)。A bitwise or logical XOR operation, such as (a ^ b) in C# or (a Xor b) in Visual Basic.

ExclusiveOrAssign ExclusiveOrAssign ExclusiveOrAssign ExclusiveOrAssign 66

論理またはビットごとの XOR 複合代入演算 (C# の (a ^= b) など)。A bitwise or logical XOR compound assignment operation, such as (a ^= b) in C#.

Extension Extension Extension Extension 52

拡張式。An extension expression.

Goto Goto Goto Goto 53

"go to" 式 (C# の goto Label、Visual Basic の GoTo Label など)。A "go to" expression, such as goto Label in C# or GoTo Label in Visual Basic.

GreaterThan GreaterThan GreaterThan GreaterThan 15

"より大きい" 比較 ((a > b) など)。A "greater than" comparison, such as (a > b).

GreaterThanOrEqual GreaterThanOrEqual GreaterThanOrEqual GreaterThanOrEqual 16

"以上" 比較 ((a >= b) など)。A "greater than or equal to" comparison, such as (a >= b).

Increment Increment Increment Increment 54

単項インクリメント演算 (C# および Visual Basic での (a + 1) など)。A unary increment operation, such as (a + 1) in C# and Visual Basic. a オブジェクト自体は変更されません。The object a should not be modified in place.

Index Index Index Index 55

インデックス演算、または引数を受け取るプロパティにアクセスする演算。An index operation or an operation that accesses a property that takes arguments.

Invoke Invoke Invoke Invoke 17

デリゲートまたはラムダ式を呼び出す演算 (sampleDelegate.Invoke() など)。An operation that invokes a delegate or lambda expression, such as sampleDelegate.Invoke().

IsFalse IsFalse IsFalse IsFalse 84

false 条件値。A false condition value.

IsTrue IsTrue IsTrue IsTrue 83

true 条件値。A true condition value.

Label Label Label Label 56

ラベル。A label.

Lambda Lambda Lambda Lambda 18

ラムダ式 (C# の a => a + a、Visual Basic の Function(a) a + a など)。A lambda expression, such as a => a + a in C# or Function(a) a + a in Visual Basic.

LeftShift LeftShift LeftShift LeftShift 19

ビットごとの左シフト演算 ((a << b) など)。A bitwise left-shift operation, such as (a << b).

LeftShiftAssign LeftShiftAssign LeftShiftAssign LeftShiftAssign 67

ビットごとの左シフトの複合代入 ((a <<= b) など)。A bitwise left-shift compound assignment, such as (a <<= b).

LessThan LessThan LessThan LessThan 20

"より小さい" 比較 ((a < b) など)。A "less than" comparison, such as (a < b).

LessThanOrEqual LessThanOrEqual LessThanOrEqual LessThanOrEqual 21

"以下" 比較 ((a <= b) など)。A "less than or equal to" comparison, such as (a <= b).

ListInit ListInit ListInit ListInit 22

新しい IEnumerable オブジェクトを作成し、要素のリストから初期化する演算 (C# の new List<SampleType>(){ a, b, c }、Visual Basic の Dim sampleList = { a, b, c } など)。An operation that creates a new IEnumerable object and initializes it from a list of elements, such as new List<SampleType>(){ a, b, c } in C# or Dim sampleList = { a, b, c } in Visual Basic.

Loop Loop Loop Loop 58

ループ (forwhile など)。A loop, such as for or while.

MemberAccess MemberAccess MemberAccess MemberAccess 23

フィールドまたはプロパティから読み取る演算 (obj.SampleProperty など)。An operation that reads from a field or property, such as obj.SampleProperty.

MemberInit MemberInit MemberInit MemberInit 24

新しいオブジェクトを作成し、その 1 つ以上のメンバーを初期化する演算 (C# の new Point { X = 1, Y = 2 }、Visual Basic の New Point With {.X = 1, .Y = 2} など)。An operation that creates a new object and initializes one or more of its members, such as new Point { X = 1, Y = 2 } in C# or New Point With {.X = 1, .Y = 2} in Visual Basic.

Modulo Modulo Modulo Modulo 25

算術剰余演算 (C# の (a % b)、Visual Basic の (a Mod b) など)。An arithmetic remainder operation, such as (a % b) in C# or (a Mod b) in Visual Basic.

ModuloAssign ModuloAssign ModuloAssign ModuloAssign 68

算術剰余の複合代入演算 (C# の (a %= b) など)。An arithmetic remainder compound assignment operation, such as (a %= b) in C#.

Multiply Multiply Multiply Multiply 26

オーバーフロー チェックを行わない、数値オペランドに対する乗算演算 ((a * b) など)。A multiplication operation, such as (a * b), without overflow checking, for numeric operands.

MultiplyAssign MultiplyAssign MultiplyAssign MultiplyAssign 69

オーバーフロー チェックを行わない、数値オペランドに対する乗算の複合代入演算 ((a *= b) など)。A multiplication compound assignment operation, such as (a *= b), without overflow checking, for numeric operands.

MultiplyAssignChecked MultiplyAssignChecked MultiplyAssignChecked MultiplyAssignChecked 75

オーバーフロー チェックを行う、数値オペランドに対する乗算の複合代入演算 ((a *= b) など)。A multiplication compound assignment operation, such as (a *= b), that has overflow checking, for numeric operands.

MultiplyChecked MultiplyChecked MultiplyChecked MultiplyChecked 27

オーバーフロー チェックを行う、数値オペランドに対する乗算演算 ((a * b) など)。An multiplication operation, such as (a * b), that has overflow checking, for numeric operands.

Negate Negate Negate Negate 28

算術否定演算 ((-a) など)。An arithmetic negation operation, such as (-a). a オブジェクト自体は変更されません。The object a should not be modified in place.

NegateChecked NegateChecked NegateChecked NegateChecked 30

オーバーフロー チェックを行う算術否定演算 ((-a) など)。An arithmetic negation operation, such as (-a), that has overflow checking. a オブジェクト自体は変更されません。The object a should not be modified in place.

New New New New 31

新しいオブジェクトを作成するためにコンストラクターを呼び出す演算 (new SampleType() など)。An operation that calls a constructor to create a new object, such as new SampleType().

NewArrayBounds NewArrayBounds NewArrayBounds NewArrayBounds 33

各次元の境界が指定された新しい配列を作成する演算 (C# の new SampleType[dim1, dim2]、Visual Basic の New SampleType(dim1, dim2) など)。An operation that creates a new array, in which the bounds for each dimension are specified, such as new SampleType[dim1, dim2] in C# or New SampleType(dim1, dim2) in Visual Basic.

NewArrayInit NewArrayInit NewArrayInit NewArrayInit 32

新しい 1 次元配列を作成し、要素のリストから初期化する演算 (C# の new SampleType[]{a, b, c}、Visual Basic の New SampleType(){a, b, c} など)。An operation that creates a new one-dimensional array and initializes it from a list of elements, such as new SampleType[]{a, b, c} in C# or New SampleType(){a, b, c} in Visual Basic.

Not Not Not Not 34

ビットごとの補数演算または論理否定演算。A bitwise complement or logical negation operation. C# では、(~a) (整数型の場合) および (!a) (ブール値の場合) に相当します。In C#, it is equivalent to (~a) for integral types and to (!a) for Boolean values. Visual Basic では (Not a) に相当します。In Visual Basic, it is equivalent to (Not a). a オブジェクト自体は変更されません。The object a should not be modified in place.

NotEqual NotEqual NotEqual NotEqual 35

非等価比較 (C# の (a != b)、Visual Basic の (a <> b) など)。An inequality comparison, such as (a != b) in C# or (a <> b) in Visual Basic.

OnesComplement OnesComplement OnesComplement OnesComplement 82

1 の補数演算 (C# の (~a) など)。A ones complement operation, such as (~a) in C#.

Or Or Or Or 36

論理またはビットごとの OR 演算 (C# の (a | b)、Visual Basic の (a Or b) など)。A bitwise or logical OR operation, such as (a | b) in C# or (a Or b) in Visual Basic.

OrAssign OrAssign OrAssign OrAssign 70

論理またはビットごとの OR 複合代入 (C# の (a |= b) など)。A bitwise or logical OR compound assignment, such as (a |= b) in C#.

OrElse OrElse OrElse OrElse 37

ショートサーキットの条件付き OR 演算 (C# の (a || b)、Visual Basic の (a OrElse b) など)。A short-circuiting conditional OR operation, such as (a || b) in C# or (a OrElse b) in Visual Basic.

Parameter Parameter Parameter Parameter 38

式のコンテキストで定義されているパラメーターまたは変数への参照。A reference to a parameter or variable that is defined in the context of the expression. 詳細については、「ParameterExpression」を参照してください。For more information, see ParameterExpression.

PostDecrementAssign PostDecrementAssign PostDecrementAssign PostDecrementAssign 80

単項後置デクリメント ((a--) など)。A unary postfix decrement, such as (a--). a オブジェクト自体が変更されます。The object a should be modified in place.

PostIncrementAssign PostIncrementAssign PostIncrementAssign PostIncrementAssign 79

単項後置インクリメント ((a++) など)。A unary postfix increment, such as (a++). a オブジェクト自体が変更されます。The object a should be modified in place.

Power Power Power Power 39

数値の累乗を求める数値演算 (Visual Basic の (a ^ b) など)。A mathematical operation that raises a number to a power, such as (a ^ b) in Visual Basic.

PowerAssign PowerAssign PowerAssign PowerAssign 71

数値の累乗を求める複合代入演算 (Visual Basic の (a ^= b) など)。A compound assignment operation that raises a number to a power, such as (a ^= b) in Visual Basic.

PreDecrementAssign PreDecrementAssign PreDecrementAssign PreDecrementAssign 78

単項前置デクリメント ((--a) など)。A unary prefix decrement, such as (--a). a オブジェクト自体が変更されます。The object a should be modified in place.

PreIncrementAssign PreIncrementAssign PreIncrementAssign PreIncrementAssign 77

単項前置インクリメント ((++a) など)。A unary prefix increment, such as (++a). a オブジェクト自体が変更されます。The object a should be modified in place.

Quote Quote Quote Quote 40

Expression 型の定数値を持つ式。An expression that has a constant value of type Expression. Quote ノードには、それが表す式のコンテキストで定義されたパラメーターへの参照を格納できます。A Quote node can contain references to parameters that are defined in the context of the expression it represents.

RightShift RightShift RightShift RightShift 41

ビットごとの右シフト演算 ((a >> b) など)。A bitwise right-shift operation, such as (a >> b).

RightShiftAssign RightShiftAssign RightShiftAssign RightShiftAssign 72

ビットごとの右シフトの複合代入演算 ((a >>= b) など)。A bitwise right-shift compound assignment operation, such as (a >>= b).

RuntimeVariables RuntimeVariables RuntimeVariables RuntimeVariables 57

ランタイム変数のリストです。A list of run-time variables. 詳細については、「RuntimeVariablesExpression」を参照してください。For more information, see RuntimeVariablesExpression.

Subtract Subtract Subtract Subtract 42

オーバーフロー チェックを行わない、数値オペランドに対する減算演算 ((a - b) など)。A subtraction operation, such as (a - b), without overflow checking, for numeric operands.

SubtractAssign SubtractAssign SubtractAssign SubtractAssign 73

オーバーフロー チェックを行わない、数値オペランドに対する減算の複合代入演算 ((a -= b) など)。A subtraction compound assignment operation, such as (a -= b), without overflow checking, for numeric operands.

SubtractAssignChecked SubtractAssignChecked SubtractAssignChecked SubtractAssignChecked 76

オーバーフロー チェックを行う、数値オペランドに対する減算の複合代入演算 ((a -= b) など)。A subtraction compound assignment operation, such as (a -= b), that has overflow checking, for numeric operands.

SubtractChecked SubtractChecked SubtractChecked SubtractChecked 43

オーバーフロー チェックを行う、数値オペランドに対する算術減算演算 ((a - b) など)。An arithmetic subtraction operation, such as (a - b), that has overflow checking, for numeric operands.

Switch Switch Switch Switch 59

スイッチ演算 (C# の switch、Visual Basic の Select Case など)。A switch operation, such as switch in C# or Select Case in Visual Basic.

Throw Throw Throw Throw 60

例外をスローする演算 (throw new Exception() など)。An operation that throws an exception, such as throw new Exception().

Try Try Try Try 61

try-catch 式。A try-catch expression.

TypeAs TypeAs TypeAs TypeAs 44

変換が失敗した場合に null が提供される明示的な参照変換またはボックス化変換 (C# の (obj as SampleType)、Visual Basic の TryCast(obj, SampleType) など)。An explicit reference or boxing conversion in which null is supplied if the conversion fails, such as (obj as SampleType) in C# or TryCast(obj, SampleType) in Visual Basic.

TypeEqual TypeEqual TypeEqual TypeEqual 81

正確な型テスト。An exact type test.

TypeIs TypeIs TypeIs TypeIs 45

型テスト (C# の obj is SampleType、Visual Basic の TypeOf obj is SampleType など)。A type test, such as obj is SampleType in C# or TypeOf obj is SampleType in Visual Basic.

UnaryPlus UnaryPlus UnaryPlus UnaryPlus 29

単項プラス演算 ((+a) など)。A unary plus operation, such as (+a). 定義済みの単項プラス演算の結果はオペランドの値ですが、ユーザー定義の実装では予期しない結果となる場合があります。The result of a predefined unary plus operation is the value of the operand, but user-defined implementations might have unusual results.

Unbox Unbox Unbox Unbox 62

値型のアンボックス化演算 (MSIL の unbox 命令、unbox.any 命令など)。An unbox value type operation, such as unbox and unbox.any instructions in MSIL.

注釈

この型の各列挙値の詳細については、「動的言語ランタイムの概要」を参照してください。For more information about each enumeration value of this type, see Dynamic Language Runtime Overview.

適用対象