TryExpression.Update Méthode

Définition

Crée une expression semblable à celle-ci, mais à l’aide des enfants fournis. Si tous les enfants sont identiques, il retourne cette expression.

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 qu’une expression avec les enfants mis à jour.

S’applique à