Partager via


ExpressionMorphHelper.TryMorphExpression Méthode

Définition

Indique si l'expression essaie de transformer.

public:
 abstract bool TryMorphExpression(System::Activities::ActivityWithResult ^ expression, bool isLocationExpression, Type ^ newType, System::Activities::Presentation::EditingContext ^ context, [Runtime::InteropServices::Out] System::Activities::ActivityWithResult ^ % newExpression);
public abstract bool TryMorphExpression (System.Activities.ActivityWithResult expression, bool isLocationExpression, Type newType, System.Activities.Presentation.EditingContext context, out System.Activities.ActivityWithResult newExpression);
abstract member TryMorphExpression : System.Activities.ActivityWithResult * bool * Type * System.Activities.Presentation.EditingContext * ActivityWithResult -> bool
Public MustOverride Function TryMorphExpression (expression As ActivityWithResult, isLocationExpression As Boolean, newType As Type, context As EditingContext, ByRef newExpression As ActivityWithResult) As Boolean

Paramètres

expression
ActivityWithResult

Expression à transformer.

isLocationExpression
Boolean

true si l'expression est une expression d'emplacement ; sinon, false.

newType
Type

Nouveau type de l'expression.

context
EditingContext

Contexte.

newExpression
ActivityWithResult

Nouvelle expression.

Retours

Boolean

Expression transformée.

S’applique à