Freigeben über


ExpressionMorphHelper.TryMorphExpression Methode

Definition

Gibt einen Wert zurück, der angibt, ob der Ausdruck zu morphen versucht.

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

Parameter

expression
ActivityWithResult

Der zu morphende Ausdruck.

isLocationExpression
Boolean

true, wenn der Ausdruck ein Speicherortausdruck ist; andernfalls false.

newType
Type

Der neue Typ des Ausdrucks.

context
EditingContext

Der Kontext.

newExpression
ActivityWithResult

Der neue Ausdruck.

Gibt zurück

Boolean

Der verwandelte Ausdruck.

Gilt für