Edit

Share via


ExpressionMorphHelper.TryMorphExpression Method

Definition

Returns whether the expression tries to morph.

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

Parameters

expression
ActivityWithResult

The expression to morph.

isLocationExpression
Boolean

true if the expression is a location expression; otherwise, false.

newType
Type

The new type of the expression.

context
EditingContext

The context.

newExpression
ActivityWithResult

The new expression.

Returns

The morphed expression.

Applies to