Partage via


TryExpression.Update Méthode

Définition

Crée une expression qui est semblable à celle-ci, mais en utilisant les enfants fournis. Si tous les enfants sont identiques, cette expression est retournée.

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

Paramètres

body
Expression

Propriété Body du résultat.

handlers
IEnumerable<CatchBlock>

Propriété Handlers du résultat.

finally
Expression

Propriété Finally du résultat.

fault
Expression

Propriété Fault du résultat.

Retours

Cette expression si aucun enfant n’est modifié, ou une expression avec les enfants mis à jour.

S’applique à