Bagikan melalui


TryExpression.Update Metode

Definisi

Membuat ekspresi baru yang seperti ini, tetapi menggunakan anak-anak yang disediakan. Jika semua anak sama, itu akan mengembalikan ekspresi ini.

public:
 System::Linq::Expressions::TryExpression ^ Update(System::Linq::Expressions::Expression ^ body, System::Collections::Generic::IEnumerable<System::Linq::Expressions::CatchBlock ^> ^ handlers, System::Linq::Expressions::Expression ^ finally, System::Linq::Expressions::Expression ^ fault);
public System.Linq.Expressions.TryExpression Update (System.Linq.Expressions.Expression body, System.Collections.Generic.IEnumerable<System.Linq.Expressions.CatchBlock> handlers, System.Linq.Expressions.Expression finally, System.Linq.Expressions.Expression fault);
public System.Linq.Expressions.TryExpression Update (System.Linq.Expressions.Expression body, System.Collections.Generic.IEnumerable<System.Linq.Expressions.CatchBlock>? handlers, System.Linq.Expressions.Expression? finally, System.Linq.Expressions.Expression? fault);
member this.Update : System.Linq.Expressions.Expression * seq<System.Linq.Expressions.CatchBlock> * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.TryExpression
Public Function Update (body As Expression, handlers As IEnumerable(Of CatchBlock), finally As Expression, fault As Expression) As TryExpression

Parameter

body
Expression

Properti Body hasil.

handlers
IEnumerable<CatchBlock>

Properti Handlers hasil.

finally
Expression

Properti Finally hasil.

fault
Expression

Properti Fault hasil.

Mengembalikan

Ekspresi ini jika tidak ada anak yang diubah atau ekspresi dengan turunan yang diperbarui.

Berlaku untuk