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 プロパティ。

返品

子が変更されていない場合は、この式、または更新された子を含む式。

適用対象