SwitchCase.Update(IEnumerable<Expression>, Expression) Metod

Definition

Skapar ett nytt uttryck som liknar det här, men som använder de angivna underordnade uttrycken. Om alla underordnade är likadana returneras det här uttrycket.

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

Parametrar

testValues
IEnumerable<Expression>

Resultatets TestValues egenskap.

body
Expression

Resultatets Body egenskap.

Returer

Det här uttrycket om inga underordnade objekt ändras eller ett uttryck med de uppdaterade underordnade.

Gäller för