Compartir a través de


ExpressionMorphHelper.TryMorphExpression Método

Definición

Devuelve si la expresión intenta transformarse.

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

Parámetros

expression
ActivityWithResult

Expresión que se va a transformar.

isLocationExpression
Boolean

true si la expression es una expresión de ubicación; si no, false.

newType
Type

Tipo nuevo de la expresión.

context
EditingContext

Contexto.

newExpression
ActivityWithResult

La nueva expresión.

Devoluciones

Boolean

Expresión cuya forma se ha cambiado.

Se aplica a