SwitchCase.Update(IEnumerable<Expression>, Expression) メソッド

定義

これに似た式ですが、指定された子を使用する、新しい式を作成します。 すべての子が同じである場合、この式を返します。

public:
 System::Linq::Expressions::SwitchCase ^ Update(System::Collections::Generic::IEnumerable<System::Linq::Expressions::Expression ^> ^ testValues, System::Linq::Expressions::Expression ^ body);
public System.Linq.Expressions.SwitchCase Update (System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> testValues, System.Linq.Expressions.Expression body);
member this.Update : seq<System.Linq.Expressions.Expression> * System.Linq.Expressions.Expression -> System.Linq.Expressions.SwitchCase
Public Function Update (testValues As IEnumerable(Of Expression), body As Expression) As SwitchCase

パラメーター

testValues
IEnumerable<Expression>

結果の TestValues プロパティ。

body
Expression

結果の Body プロパティ。

戻り値

SwitchCase

子が変更されていない場合はこの式。あるいは、更新された子を持つ式。

適用対象