SwitchCase.Update(IEnumerable<Expression>, Expression) Yöntem

Tanım

Bunun gibi, ancak sağlanan alt öğeleri kullanarak yeni bir ifade oluşturur. Tüm alt öğeler aynıysa bu ifade döndürülecektir.

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

Parametreler

testValues
IEnumerable<Expression>

Sonucun TestValues özelliği.

body
Expression

Sonucun Body özelliği.

Döndürülenler

SwitchCase

Hiçbir alt öğe değiştirilmediyse veya güncelleştirilmiş alt öğeleri olan bir ifadeyse bu ifade.

Şunlara uygulanır